Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",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.001065/0.001065, allocations: 103 kB / 15.06 MB, free: 1.098 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.0009949/0.0009949, allocations: 173.3 kB / 15.95 MB, free: 212 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.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05898/0.05898, allocations: 14.16 MB / 284.5 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.0005506/0.0005507, allocations: 19.94 kB / 347.6 MB, free: 18.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1185, allocations: 51.11 MB / 398.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.006249/0.1247, allocations: 4.592 MB / 403.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.1299, allocations: 2.701 MB / 406 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.1305, allocations: 11.94 kB / 406 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006919/0.1312, allocations: 210.9 kB / 406.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.1338, allocations: 1.031 MB / 407.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009016/0.1347, allocations: 375 kB / 407.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.1364, allocations: 0.9598 MB / 408.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1367, allocations: 74.03 kB / 408.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.1372, allocations: 418.6 kB / 409 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.1377, allocations: 466.3 kB / 409.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.277e-05/0.1378, allocations: 36 kB / 409.5 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1385, allocations: 239.8 kB / 409.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1386, allocations: 135.4 kB / 409.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1387, allocations: 165.3 kB / 410.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000871/0.1396, allocations: 0.7987 MB / 410.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1396, allocations: 0 / 410.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1396, allocations: 0 / 410.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1397, allocations: 0 / 410.8 MB, free: 3.105 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.003277/0.1429, allocations: 1.235 MB / 412.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.143, allocations: 12.02 kB / 412.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.1431, allocations: 78.53 kB / 412.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.1435, allocations: 115 kB / 412.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.1444, allocations: 0.5234 MB / 412.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.1444, allocations: 45 kB / 412.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1446, allocations: 63.91 kB / 412.9 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.1454, allocations: 478.1 kB / 413.4 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1454, allocations: 3.938 kB / 413.4 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.1455, allocations: 16 kB / 413.4 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1455, allocations: 16 kB / 413.4 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.1463, allocations: 495.7 kB / 413.9 MB, free: 15.94 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.004749/0.1511, allocations: 2.879 MB / 416.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1524, allocations: 0.7683 MB / 417.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1525, allocations: 4.562 kB / 417.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1525, allocations: 43.77 kB / 417.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.214e-06/0.1526, allocations: 0 / 417.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005346/0.1579, allocations: 2.051 MB / 419.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.158, allocations: 55.97 kB / 419.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.1585, allocations: 0.4987 MB / 420.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.1586, allocations: 45.7 kB / 420.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.1588, allocations: 257.2 kB / 420.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.159, allocations: 232.6 kB / 420.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1591, allocations: 20 kB / 420.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1592, allocations: 370.8 kB / 421.1 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.1598, allocations: 333.9 kB / 421.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006116/0.1604, allocations: 417.3 kB / 421.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.1611, allocations: 379 kB / 422.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1611, allocations: 0 / 422.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004905/0.166, allocations: 1.601 MB / 423.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.1662, allocations: 275 kB / 424.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.1662, allocations: 7.938 kB / 424.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004991/0.1712, allocations: 1.011 MB / 425.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.1724, allocations: 199.8 kB / 425.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2527/0.4251, allocations: 9.532 MB / 434.8 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008108/0.4259, allocations: 33.8 kB / 434.9 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/0.426, allocations: 33.33 kB / 434.9 MB, free: 24.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.426, allocations: 6.938 kB / 434.9 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003445/0.4295, allocations: 1.2 MB / 436.1 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4295, allocations: 0 / 436.1 MB, free: 24.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.4323, allocations: 0.6011 MB / 436.7 MB, free: 24.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.4333, allocations: 217.6 kB / 436.9 MB, free: 24.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/0.4418, allocations: 10.63 MB / 447.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.4426, allocations: 36.2 kB / 447.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.4427, allocations: 37.73 kB / 447.6 MB, free: 15.3 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,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003631/0.4431, allocations: 272 kB / 447.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.4432, allocations: 65.62 kB / 447.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.4448, allocations: 0.7869 MB / 448.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4449, allocations: 5.625 kB / 448.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4449, allocations: 11.67 kB / 448.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4449, allocations: 3.422 kB / 448.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/0.4475, allocations: 1.561 MB / 450.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4475, allocations: 4.516 kB / 450.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.4482, allocations: 137.1 kB / 450.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000941/0.4492, allocations: 272.2 kB / 450.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.4492, allocations: 11.08 kB / 450.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.4525, allocations: 2.44 MB / 453.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4525, allocations: 4 kB / 453.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.4546, allocations: 1.124 MB / 454.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.4548, allocations: 184.8 kB / 454.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.4549, allocations: 10.84 kB / 454.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.4553, allocations: 26.06 kB / 454.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.4554, allocations: 46.34 kB / 454.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.4555, allocations: 15.84 kB / 454.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004392/0.4559, allocations: 329 kB / 454.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4559, allocations: 0 / 454.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001702/0.4576, allocations: 460.1 kB / 455.3 MB, free: 12.47 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.002253/0.4599, allocations: 1.722 MB / 457.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004682/0.4646, allocations: 2.998 MB / 460.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4646, allocations: 0 / 460.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.4655, allocations: 0.522 MB / 460.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.466, allocations: 76.39 kB / 460.7 MB, free: 9.148 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.002698/0.4687, allocations: 2.317 MB / 463 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4691, allocations: 0.9303 MB / 463.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003651/0.4695, allocations: 83.06 kB / 464 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.4697, allocations: 215.8 kB / 464.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4697, allocations: 0 / 464.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.5067, allocations: 20.04 MB / 484.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.507, allocations: 230.8 kB / 484.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.805, allocations: 0 / 484.5 MB, free: 4.289 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1) Environment - environmentSimulation: