Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings",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.001211/0.001211, 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.001181/0.001181, allocations: 177.3 kB / 15.94 MB, free: 228 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.739/1.739, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06173/0.06173, allocations: 14.16 MB / 284.5 MB, free: 7.02 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.0005234/0.0005235, allocations: 12 kB / 346.2 MB, free: 19.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 51.12 MB / 397.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.005153/0.1312, allocations: 4.584 MB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.1363, allocations: 2.717 MB / 404.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.1368, allocations: 11.94 kB / 404.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.1375, allocations: 210.8 kB / 404.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.14, allocations: 1.031 MB / 405.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.1409, allocations: 375 kB / 406.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1425, allocations: 0.9437 MB / 407.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1427, allocations: 77.73 kB / 407.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.1432, allocations: 418.6 kB / 407.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.1438, allocations: 450.3 kB / 408.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.1439, allocations: 36 kB / 408.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.1445, allocations: 239.8 kB / 408.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1446, allocations: 127.5 kB / 408.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1448, allocations: 165.3 kB / 408.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008781/0.1457, allocations: 0.7795 MB / 409.5 MB, free: 4.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1457, allocations: 4 kB / 409.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1457, allocations: 0 / 409.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1457, allocations: 0 / 409.5 MB, free: 4.465 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.003216/0.1489, allocations: 1.22 MB / 410.7 MB, free: 3.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.149, allocations: 16.02 kB / 410.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.1491, allocations: 82.52 kB / 410.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.1495, allocations: 107 kB / 410.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.1503, allocations: 0.5117 MB / 411.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.1504, allocations: 45 kB / 411.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1505, allocations: 67.91 kB / 411.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.1513, allocations: 474.1 kB / 412 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1513, allocations: 4 kB / 412 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1514, allocations: 16 kB / 412 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1514, allocations: 12 kB / 412 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.1522, allocations: 0.4918 MB / 412.5 MB, free: 1.324 MB / 302.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.004502/0.1567, allocations: 2.864 MB / 415.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.1581, allocations: 0.7683 MB / 416.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1581, allocations: 12.55 kB / 416.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1582, allocations: 39.78 kB / 416.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.663e-06/0.1582, allocations: 0 / 416.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004987/0.1632, allocations: 2.055 MB / 418.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1632, allocations: 55.97 kB / 418.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.1638, allocations: 0.4948 MB / 418.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.1639, allocations: 41.7 kB / 418.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1641, allocations: 257.2 kB / 419.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.1643, allocations: 232.6 kB / 419.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1643, allocations: 20 kB / 419.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1645, allocations: 374.8 kB / 419.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.1651, allocations: 317.9 kB / 420 MB, free: 9.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.1657, allocations: 401.3 kB / 420.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.1663, allocations: 363 kB / 420.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1663, allocations: 0 / 420.8 MB, free: 8.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00286/0.1692, allocations: 1.268 MB / 422 MB, free: 7.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1692, allocations: 12.06 kB / 422 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1692, allocations: 0 / 422 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.1717, allocations: 0.6184 MB / 422.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.1726, allocations: 223.6 kB / 422.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2493/0.422, allocations: 10.66 MB / 433.5 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.4229, allocations: 32.86 kB / 433.6 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.347e-05/0.4229, allocations: 31.97 kB / 433.6 MB, free: 32.09 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 (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003764/0.4233, allocations: 205.7 kB / 433.8 MB, free: 31.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4234, allocations: 63.44 kB / 433.9 MB, free: 31.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.4252, allocations: 0.7874 MB / 434.6 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4252, allocations: 9.312 kB / 434.7 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4252, allocations: 7.344 kB / 434.7 MB, free: 31.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4252, allocations: 6.953 kB / 434.7 MB, free: 31.91 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.002641/0.4279, allocations: 1.558 MB / 436.2 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4279, allocations: 0 / 436.2 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.4286, allocations: 136.6 kB / 436.4 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009614/0.4295, allocations: 280.4 kB / 436.6 MB, free: 31.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.4296, allocations: 11.42 kB / 436.6 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.4329, allocations: 2.445 MB / 439.1 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.433, allocations: 0 / 439.1 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.4352, allocations: 1.126 MB / 440.2 MB, free: 28.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.4356, allocations: 182.7 kB / 440.4 MB, free: 28.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.4357, allocations: 10.84 kB / 440.4 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.4361, allocations: 29.55 kB / 440.4 MB, free: 28.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4362, allocations: 45.73 kB / 440.5 MB, free: 28.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.4363, allocations: 17.86 kB / 440.5 MB, free: 28.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004247/0.4367, allocations: 327.7 kB / 440.8 MB, free: 28.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4367, allocations: 0 / 440.8 MB, free: 28.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4378, allocations: 259.2 kB / 441.1 MB, free: 28.48 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.002441/0.4403, allocations: 1.718 MB / 442.8 MB, free: 27.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.4433, allocations: 1.673 MB / 444.5 MB, free: 26.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4434, allocations: 1.312 kB / 444.5 MB, free: 26.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4444, allocations: 0.536 MB / 445 MB, free: 26.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.445, allocations: 83.94 kB / 445.1 MB, free: 25.97 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.0033/0.4483, allocations: 2.302 MB / 447.4 MB, free: 24.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.4489, allocations: 0.9136 MB / 448.3 MB, free: 23.64 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.4492, allocations: 71.59 kB / 448.4 MB, free: 23.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.4495, allocations: 217.1 kB / 448.6 MB, free: 23.46 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4495, allocations: 0 / 448.6 MB, free: 23.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.4811, allocations: 14.9 MB / 463.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4813, allocations: 214.9 kB / 463.7 MB, free: 13.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.604, allocations: 0 / 463.7 MB, free: 13.63 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) Environment - environmentSimulation: