Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_symb_jac_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.0007987/0.000803, allocations: 88.17 kB / 15.71 MB, free: 452 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.000857/0.0008568, allocations: 181.3 kB / 16.59 MB, free: 6.855 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.908/1.908, allocations: 205.4 MB / 222.8 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06428/0.06428, allocations: 14.17 MB / 285.2 MB, free: 6.984 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.0005193/0.0005196, allocations: 20 kB / 348.3 MB, free: 18.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 51.12 MB / 399.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.00556/0.1236, allocations: 4.91 MB / 404.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.1291, allocations: 2.743 MB / 407 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.1297, allocations: 8 kB / 407 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.1304, allocations: 206.9 kB / 407.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.133, allocations: 0.9642 MB / 408.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.1339, allocations: 387.2 kB / 408.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.1357, allocations: 1.342 MB / 409.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1359, allocations: 77.97 kB / 410 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.1365, allocations: 402.4 kB / 410.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.1371, allocations: 474.1 kB / 410.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.1372, allocations: 36 kB / 410.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006828/0.1378, allocations: 263.7 kB / 411.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.138, allocations: 127.3 kB / 411.3 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1382, allocations: 165.3 kB / 411.4 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1392, allocations: 0.8182 MB / 412.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1392, allocations: 0 / 412.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1392, allocations: 0 / 412.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1392, allocations: 0 / 412.2 MB, free: 2.32 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.00318/0.1424, allocations: 1.227 MB / 413.5 MB, free: 1.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1425, allocations: 8.031 kB / 413.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.1426, allocations: 82.52 kB / 413.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.1429, allocations: 103 kB / 413.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.144, allocations: 0.5273 MB / 414.2 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1441, allocations: 41 kB / 414.2 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1442, allocations: 67.89 kB / 414.3 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.1451, allocations: 486 kB / 414.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1451, allocations: 0 / 414.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.1452, allocations: 20 kB / 414.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1452, allocations: 8 kB / 414.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.1461, allocations: 499.7 kB / 415.3 MB, free: 15.16 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.004487/0.1506, allocations: 2.879 MB / 418.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.1519, allocations: 0.7729 MB / 418.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.1522, allocations: 234.5 kB / 419.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.1523, allocations: 12.55 kB / 419.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1524, allocations: 39.12 kB / 419.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.1524, allocations: 0 / 419.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005076/0.1574, allocations: 2.086 MB / 421.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1575, allocations: 63.91 kB / 421.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.1581, allocations: 0.4987 MB / 421.9 MB, free: 8.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.1582, allocations: 41.7 kB / 421.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.1584, allocations: 257.2 kB / 422.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.1587, allocations: 228.6 kB / 422.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.1587, allocations: 20 kB / 422.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1589, allocations: 370.8 kB / 422.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.1595, allocations: 337.9 kB / 423.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.1602, allocations: 413.4 kB / 423.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.1609, allocations: 383 kB / 423.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1609, allocations: 4 kB / 423.9 MB, free: 6.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004602/0.1655, allocations: 1.609 MB / 425.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.1657, allocations: 114.7 kB / 425.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1657, allocations: 0 / 425.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004506/0.1702, allocations: 1.011 MB / 426.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.1711, allocations: 191.8 kB / 426.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2482/0.4193, allocations: 9.368 MB / 436.2 MB, free: 24.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.42, allocations: 34.25 kB / 436.2 MB, free: 24.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.4201, allocations: 33.8 kB / 436.2 MB, free: 24.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.4201, allocations: 4.188 kB / 436.2 MB, free: 24.51 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002913/0.423, allocations: 1.202 MB / 437.4 MB, free: 24.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4231, allocations: 0 / 437.4 MB, free: 24.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.4254, allocations: 0.5875 MB / 438 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.4263, allocations: 221.2 kB / 438.2 MB, free: 24.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008507/0.4348, allocations: 10.55 MB / 448.8 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.4357, allocations: 37.59 kB / 448.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.4358, allocations: 29.83 kB / 448.9 MB, free: 15.34 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.0005289/0.4363, allocations: 274.8 kB / 449.1 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.4365, allocations: 62.66 kB / 449.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.4384, allocations: 0.7876 MB / 450 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4384, allocations: 7.5 kB / 450 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4384, allocations: 2.469 kB / 450 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4384, allocations: 4.641 kB / 450 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.4411, allocations: 1.567 MB / 451.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4411, allocations: 0.9375 kB / 451.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.4418, allocations: 136 kB / 451.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/0.4427, allocations: 264.3 kB / 451.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4428, allocations: 15.25 kB / 452 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.4459, allocations: 2.396 MB / 454.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4459, allocations: 3.953 kB / 454.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.4591, allocations: 8.156 MB / 462.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4594, allocations: 188.8 kB / 462.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.4594, allocations: 15.27 kB / 462.7 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.4598, allocations: 26.91 kB / 462.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.46, allocations: 45.17 kB / 462.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.46, allocations: 21.38 kB / 462.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.4604, allocations: 328.7 kB / 463.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4604, allocations: 0 / 463.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002231/0.4626, allocations: 0.6163 MB / 463.7 MB, free: 7.855 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.002201/0.4649, allocations: 1.716 MB / 465.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004623/0.4695, allocations: 2.99 MB / 468.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4695, allocations: 3.906 kB / 468.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008853/0.4704, allocations: 0.5208 MB / 469 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.471, allocations: 85.8 kB / 469.1 MB, free: 4.324 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.01036/0.4814, allocations: 5.615 MB / 474.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.482, allocations: 0.9361 MB / 475.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.4825, allocations: 72.84 kB / 475.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4828, allocations: 223.4 kB / 475.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4828, allocations: 4 kB / 475.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.5266, allocations: 22.47 MB / 498.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.5269, allocations: 250.4 kB / 498.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.086, allocations: 0 / 498.6 MB, free: 6.773 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1) Environment - environmentSimulation: