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.0007806/0.0007808, allocations: 91.84 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.0008359/0.0008359, allocations: 172.7 kB / 15.95 MB, free: 208 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.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06048/0.06048, allocations: 14.17 MB / 284.6 MB, free: 7.004 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.0004828/0.0004828, allocations: 16 kB / 346.3 MB, free: 19.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 51.12 MB / 397.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.00516/0.1101, allocations: 4.903 MB / 402.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.1144, allocations: 2.74 MB / 405 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.1148, allocations: 7.938 kB / 405 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.1153, allocations: 206.9 kB / 405.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.1174, allocations: 0.9838 MB / 406.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.1182, allocations: 371.2 kB / 406.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.1196, allocations: 1.324 MB / 407.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1198, allocations: 69.75 kB / 408 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.1202, allocations: 402.4 kB / 408.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.1207, allocations: 446.2 kB / 408.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.1208, allocations: 36 kB / 408.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.1213, allocations: 263.8 kB / 409.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1214, allocations: 131.4 kB / 409.2 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1216, allocations: 165.3 kB / 409.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.1223, allocations: 0.7911 MB / 410.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1223, allocations: 0 / 410.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.1224, allocations: 0 / 410.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1224, allocations: 3.938 kB / 410.2 MB, free: 3.734 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.00289/0.1253, allocations: 1.22 MB / 411.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1253, allocations: 16 kB / 411.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.1254, allocations: 82.53 kB / 411.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.1258, allocations: 103 kB / 411.6 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.1266, allocations: 0.5195 MB / 412.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.1266, allocations: 45 kB / 412.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.1267, allocations: 59.91 kB / 412.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.1275, allocations: 498 kB / 412.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1275, allocations: 0 / 412.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.1276, allocations: 16 kB / 412.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1276, allocations: 8 kB / 412.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/0.1284, allocations: 495.7 kB / 413.2 MB, free: 0.5898 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.004067/0.1325, allocations: 2.868 MB / 416.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.1338, allocations: 0.7728 MB / 416.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.1341, allocations: 234.5 kB / 417.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.1342, allocations: 24.47 kB / 417.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1342, allocations: 39.12 kB / 417.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.923e-06/0.1343, allocations: 0 / 417.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004916/0.1392, allocations: 2.086 MB / 419.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1392, allocations: 63.91 kB / 419.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.1398, allocations: 0.4948 MB / 419.8 MB, free: 9.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.1399, allocations: 41.7 kB / 419.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1401, allocations: 253.2 kB / 420.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.1403, allocations: 236.6 kB / 420.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1403, allocations: 24 kB / 420.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1405, allocations: 374.8 kB / 420.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.141, allocations: 313.9 kB / 421 MB, free: 8.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.1416, allocations: 397.4 kB / 421.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.1422, allocations: 367 kB / 421.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1422, allocations: 0 / 421.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002854/0.1451, allocations: 1.267 MB / 423 MB, free: 6.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1451, allocations: 8 kB / 423 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1451, allocations: 0 / 423 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.1475, allocations: 0.6262 MB / 423.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.1483, allocations: 223.7 kB / 423.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2026/0.351, allocations: 10.57 MB / 434.4 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.3517, allocations: 34.12 kB / 434.5 MB, free: 23.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.3517, allocations: 35.05 kB / 434.5 MB, free: 23.19 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.0002533/0.352, allocations: 211.3 kB / 434.7 MB, free: 23.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.3521, allocations: 63.22 kB / 434.8 MB, free: 23.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3537, allocations: 0.7896 MB / 435.6 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3538, allocations: 6.281 kB / 435.6 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3538, allocations: 10.89 kB / 435.6 MB, free: 23.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3538, allocations: 4.016 kB / 435.6 MB, free: 23.01 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.002377/0.3562, allocations: 1.554 MB / 437.1 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3562, allocations: 4.359 kB / 437.2 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.3568, allocations: 132.1 kB / 437.3 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008154/0.3576, allocations: 280.5 kB / 437.6 MB, free: 22.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.3577, allocations: 9.531 kB / 437.6 MB, free: 22.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.3605, allocations: 2.38 MB / 439.9 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3606, allocations: 3.422 kB / 439.9 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.3624, allocations: 1.122 MB / 441.1 MB, free: 21.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.3626, allocations: 184 kB / 441.3 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.3627, allocations: 12.83 kB / 441.3 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.363, allocations: 24.58 kB / 441.3 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3632, allocations: 51.59 kB / 441.3 MB, free: 20.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.3632, allocations: 13.81 kB / 441.4 MB, free: 20.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.3636, allocations: 333.1 kB / 441.7 MB, free: 20.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3636, allocations: 0 / 441.7 MB, free: 20.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009834/0.3646, allocations: 257.2 kB / 441.9 MB, free: 20.86 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.002378/0.367, allocations: 1.72 MB / 443.6 MB, free: 20.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003071/0.37, allocations: 1.681 MB / 445.3 MB, free: 19.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3701, allocations: 1.156 kB / 445.3 MB, free: 19.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.3712, allocations: 0.5218 MB / 445.9 MB, free: 19.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.3719, allocations: 96.12 kB / 445.9 MB, free: 19.15 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.008227/0.3802, allocations: 4.524 MB / 450.5 MB, free: 17.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3806, allocations: 0.9023 MB / 451.4 MB, free: 16.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.381, allocations: 65.66 kB / 451.4 MB, free: 16.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3812, allocations: 221.7 kB / 451.7 MB, free: 16.52 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3813, allocations: 0 / 451.7 MB, free: 16.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.4089, allocations: 15.37 MB / 467 MB, free: 5.875 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.409, allocations: 227.7 kB / 467.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.498, allocations: 0 / 467.2 MB, free: 5.629 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: