Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.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.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact",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.001228/0.001229, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 222.1 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.05948/0.05948, allocations: 14.16 MB / 284.5 MB, free: 7.145 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.0005105/0.000511, allocations: 15.94 kB / 347.6 MB, free: 18.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1273, allocations: 51.12 MB / 398.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact): time 0.007033/0.1344, allocations: 4.6 MB / 403.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.1409, allocations: 2.697 MB / 406 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.1417, allocations: 8 kB / 406 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.1425, allocations: 214.8 kB / 406.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.1459, allocations: 1.039 MB / 407.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1471, allocations: 375 kB / 407.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.1493, allocations: 0.9559 MB / 408.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1496, allocations: 70.03 kB / 408.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007586/0.1503, allocations: 426.6 kB / 409 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007529/0.1511, allocations: 470.3 kB / 409.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1512, allocations: 40 kB / 409.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1522, allocations: 259.7 kB / 409.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1524, allocations: 135.4 kB / 409.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.1527, allocations: 161.3 kB / 410.1 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.1538, allocations: 0.8104 MB / 410.9 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1539, allocations: 0 / 410.9 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1539, allocations: 0 / 410.9 MB, free: 3.055 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1539, allocations: 0 / 410.9 MB, free: 3.055 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.004595/0.1585, allocations: 1.231 MB / 412.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1585, allocations: 16.02 kB / 412.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.1587, allocations: 78.53 kB / 412.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.16, allocations: 155 kB / 412.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1613, allocations: 0.5312 MB / 412.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.1614, allocations: 41 kB / 412.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1615, allocations: 67.91 kB / 413 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1627, allocations: 486.1 kB / 413.5 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1627, allocations: 3.938 kB / 413.5 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.1628, allocations: 20 kB / 413.5 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1628, allocations: 8 kB / 413.5 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.164, allocations: 499.6 kB / 414 MB, free: 15.84 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.006589/0.1706, allocations: 2.907 MB / 416.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1719, allocations: 0.7718 MB / 417.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.172, allocations: 12.56 kB / 417.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.172, allocations: 39.69 kB / 417.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.172, allocations: 0 / 417.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.0054/0.1775, allocations: 2.051 MB / 419.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1775, allocations: 59.97 kB / 419.8 MB, free: 9.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007154/0.1782, allocations: 0.4987 MB / 420.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.1783, allocations: 45.7 kB / 420.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1786, allocations: 245.2 kB / 420.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.1788, allocations: 236.6 kB / 420.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1789, allocations: 20 kB / 420.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1791, allocations: 374.8 kB / 421.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.1797, allocations: 357.8 kB / 421.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.1804, allocations: 433.3 kB / 422 MB, free: 7.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.1811, allocations: 403 kB / 422.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1812, allocations: 0 / 422.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01131/0.1925, allocations: 1.905 MB / 424.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.1927, allocations: 279 kB / 424.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.1928, allocations: 0 / 424.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/0.2065, allocations: 1.432 MB / 426 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/0.2075, allocations: 207.8 kB / 426.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2304/0.4379, allocations: 10.32 MB / 436.5 MB, free: 31.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.4387, allocations: 44.16 kB / 436.6 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.4388, allocations: 29.27 kB / 436.6 MB, free: 31.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4388, allocations: 4.469 kB / 436.6 MB, free: 31.43 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002927/0.4418, allocations: 1.208 MB / 437.8 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4418, allocations: 0 / 437.8 MB, free: 30.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.4442, allocations: 0.5892 MB / 438.4 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.4451, allocations: 221.4 kB / 438.6 MB, free: 30.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/0.4534, allocations: 10.63 MB / 449.2 MB, free: 20.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.4542, allocations: 37.22 kB / 449.3 MB, free: 20.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.4543, allocations: 31.42 kB / 449.3 MB, free: 20.91 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.0003952/0.4547, allocations: 266.7 kB / 449.6 MB, free: 20.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.4548, allocations: 71.67 kB / 449.6 MB, free: 20.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.4567, allocations: 0.7853 MB / 450.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.4567, allocations: 6.25 kB / 450.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4568, allocations: 7.594 kB / 450.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4568, allocations: 2.953 kB / 450.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.4596, allocations: 1.558 MB / 452 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4596, allocations: 1 kB / 452 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.4602, allocations: 137 kB / 452.1 MB, free: 19.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009328/0.4612, allocations: 278.4 kB / 452.4 MB, free: 19.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.4612, allocations: 15.36 kB / 452.4 MB, free: 19.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.4643, allocations: 2.441 MB / 454.9 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4643, allocations: 1.219 kB / 454.9 MB, free: 17.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.4664, allocations: 1.13 MB / 456 MB, free: 16.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.4667, allocations: 188.6 kB / 456.2 MB, free: 16.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.4667, allocations: 12.12 kB / 456.2 MB, free: 16.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4671, allocations: 18.64 kB / 456.2 MB, free: 16.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4673, allocations: 53.17 kB / 456.3 MB, free: 16.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4673, allocations: 15 kB / 456.3 MB, free: 16.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004418/0.4678, allocations: 331.2 kB / 456.6 MB, free: 16.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4678, allocations: 0 / 456.6 MB, free: 16.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002044/0.4698, allocations: 466.3 kB / 457.1 MB, free: 16.57 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.002525/0.4723, allocations: 1.724 MB / 458.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005328/0.4777, allocations: 3.007 MB / 461.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4777, allocations: 0 / 461.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.4786, allocations: 0.5164 MB / 462.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.4792, allocations: 83.59 kB / 462.4 MB, free: 13.18 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.002675/0.4819, allocations: 2.343 MB / 464.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.4822, allocations: 0.9284 MB / 465.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.4826, allocations: 89.56 kB / 465.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.4829, allocations: 213.5 kB / 466 MB, free: 10.36 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4829, allocations: 3.875 kB / 466 MB, free: 10.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.5217, allocations: 21.92 MB / 487.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.522, allocations: 231.4 kB / 488.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.853, allocations: 7.516 kB / 488.1 MB, free: 4.895 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadExact.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadExact.pipe 2>&1) Environment - environmentSimulation: