Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009145, allocations: 93.17 kB / 15.71 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 176 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06298/0.06298, allocations: 14.17 MB / 285.2 MB, free: 7.137 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005231, allocations: 16 kB / 348.2 MB, free: 18.45 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1175, allocations: 51.13 MB / 399.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact): time 0.005928/0.1235, allocations: 4.898 MB / 404.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006067/0.1296, allocations: 2.736 MB / 407 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008873/0.1305, allocations: 11.94 kB / 407 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.1316, allocations: 218.9 kB / 407.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.1352, allocations: 0.9563 MB / 408.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1364, allocations: 393.3 kB / 408.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.1391, allocations: 1.343 MB / 409.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.1394, allocations: 82 kB / 410 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1405, allocations: 410.3 kB / 410.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.1415, allocations: 470.2 kB / 410.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.1418, allocations: 36 kB / 410.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009917/0.1428, allocations: 271.7 kB / 411.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.143, allocations: 139.3 kB / 411.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.1434, allocations: 169.3 kB / 411.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.1448, allocations: 0.822 MB / 412.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.1448, allocations: 4 kB / 412.3 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1448, allocations: 0 / 412.3 MB, free: 2.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.149e-05/0.1448, allocations: 0 / 412.3 MB, free: 2.305 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.004565/0.1494, allocations: 1.224 MB / 413.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.973e-05/0.1495, allocations: 15.95 kB / 413.5 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002985/0.1498, allocations: 86.52 kB / 413.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1511, allocations: 147 kB / 413.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.1524, allocations: 0.5312 MB / 414.3 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.1525, allocations: 45 kB / 414.3 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.1526, allocations: 63.91 kB / 414.4 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1537, allocations: 482.2 kB / 414.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1537, allocations: 0 / 414.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.1538, allocations: 19.98 kB / 414.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1538, allocations: 12 kB / 414.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009447/0.1548, allocations: 491.7 kB / 415.4 MB, free: 15.1 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.1602, allocations: 2.907 MB / 418.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.1616, allocations: 0.7723 MB / 419.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.162, allocations: 234.5 kB / 419.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.1621, allocations: 8.562 kB / 419.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1621, allocations: 35.12 kB / 419.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 3.046e-06/0.1621, allocations: 4 kB / 419.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005377/0.1675, allocations: 2.098 MB / 421.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1676, allocations: 59.97 kB / 421.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.1682, allocations: 0.4909 MB / 422 MB, free: 8.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.1683, allocations: 45.7 kB / 422 MB, free: 7.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.1685, allocations: 253.2 kB / 422.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.1688, allocations: 236.6 kB / 422.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1688, allocations: 16 kB / 422.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.169, allocations: 370.8 kB / 422.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.1697, allocations: 353.8 kB / 423.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.1703, allocations: 433.4 kB / 423.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.1711, allocations: 410.8 kB / 424 MB, free: 5.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1711, allocations: 0 / 424 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01023/0.1813, allocations: 1.898 MB / 425.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1815, allocations: 118.6 kB / 426.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1815, allocations: 0 / 426.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/0.194, allocations: 1.452 MB / 427.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.1949, allocations: 195.8 kB / 427.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2647/0.4596, allocations: 10.1 MB / 437.8 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.4605, allocations: 38.91 kB / 437.8 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.4606, allocations: 33.38 kB / 437.9 MB, free: 23.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4606, allocations: 3.531 kB / 437.9 MB, free: 23.5 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/0.4637, allocations: 1.2 MB / 439.1 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4637, allocations: 1.312 kB / 439.1 MB, free: 23.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.4661, allocations: 0.6045 MB / 439.7 MB, free: 23.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/0.467, allocations: 219.5 kB / 439.9 MB, free: 23.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008567/0.4756, allocations: 10.55 MB / 450.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.4763, allocations: 34.53 kB / 450.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.4764, allocations: 34.02 kB / 450.5 MB, free: 14.33 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.4768, allocations: 274.7 kB / 450.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.4769, allocations: 63.53 kB / 450.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4787, allocations: 0.784 MB / 451.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4787, allocations: 10.81 kB / 451.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4787, allocations: 6.812 kB / 451.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4788, allocations: 3.094 kB / 451.6 MB, free: 14.02 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.4813, allocations: 1.561 MB / 453.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4813, allocations: 0 / 453.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.4819, allocations: 143.5 kB / 453.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.4828, allocations: 270.7 kB / 453.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.4828, allocations: 11.69 kB / 453.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.4857, allocations: 2.386 MB / 456 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4857, allocations: 3.953 kB / 456 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.4989, allocations: 8.161 MB / 464.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.4992, allocations: 186.3 kB / 464.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.4992, allocations: 14.39 kB / 464.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.4996, allocations: 29.36 kB / 464.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4997, allocations: 37.84 kB / 464.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4998, allocations: 20.84 kB / 464.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.5001, allocations: 324.5 kB / 464.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5001, allocations: 0 / 464.8 MB, free: 6.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002122/0.5022, allocations: 0.6299 MB / 465.4 MB, free: 6.473 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001983/0.5042, allocations: 1.725 MB / 467.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004814/0.5091, allocations: 3.012 MB / 470.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5091, allocations: 0 / 470.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.5099, allocations: 0.5241 MB / 470.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.5105, allocations: 87.2 kB / 470.7 MB, free: 2.473 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.5271, allocations: 5.926 MB / 476.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.5278, allocations: 0.9361 MB / 477.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.5283, allocations: 80.86 kB / 477.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.5287, allocations: 223.4 kB / 477.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5287, allocations: 0 / 477.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04773/0.5765, allocations: 24.29 MB / 0.4904 GB, free: 3.094 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.5767, allocations: 246.8 kB / 0.4907 GB, free: 2.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.16, allocations: 0 / 0.4907 GB, free: 2.844 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsExact.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsExact.pipe 2>&1) Environment - environmentSimulation: