Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 218.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1976/0.1976, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 78.23 kB / 492.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 62.45 MB / 0.5419 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006784/0.353, allocations: 4.342 MB / 0.5462 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.3562, allocations: 1.379 MB / 0.5475 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.3564, allocations: 21.06 kB / 0.5475 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3576, allocations: 371.2 kB / 0.5479 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006939/0.3583, allocations: 252.1 kB / 0.5481 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000781/0.3591, allocations: 245.9 kB / 0.5484 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000719/0.3598, allocations: 0.5614 MB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.3602, allocations: 224.3 kB / 0.5491 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3607, allocations: 275 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.3614, allocations: 362 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.3614, allocations: 39.03 kB / 0.5498 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.362, allocations: 227 kB / 0.55 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3623, allocations: 249.2 kB / 0.5502 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.3625, allocations: 217.6 kB / 0.5504 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009014/0.3634, allocations: 0.6826 MB / 0.5511 GB, free: 9.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3635, allocations: 4 kB / 0.5511 GB, free: 9.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3635, allocations: 1.094 kB / 0.5511 GB, free: 9.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3635, allocations: 0 / 0.5511 GB, free: 9.582 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001661/0.3651, allocations: 0.7122 MB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3652, allocations: 13.95 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.3653, allocations: 88.98 kB / 0.5519 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.366, allocations: 123.4 kB / 0.552 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.3669, allocations: 361.6 kB / 0.5523 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.367, allocations: 32.8 kB / 0.5524 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3671, allocations: 47.48 kB / 0.5524 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.3683, allocations: 0.6752 MB / 0.5531 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3683, allocations: 1.188 kB / 0.5531 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.3683, allocations: 15.84 kB / 0.5531 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.3685, allocations: 57.64 kB / 0.5532 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3697, allocations: 0.6668 MB / 0.5538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.3738, allocations: 2.363 MB / 0.5561 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.3744, allocations: 315.8 kB / 0.5564 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.3747, allocations: 201.7 kB / 0.5566 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.3747, allocations: 7.938 kB / 0.5566 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3748, allocations: 42.56 kB / 0.5567 GB, free: 4.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.3748, allocations: 0 / 0.5567 GB, free: 4.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002502/0.3773, allocations: 1.283 MB / 0.5579 GB, free: 3.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.3774, allocations: 81.11 kB / 0.558 GB, free: 3.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.3777, allocations: 312.4 kB / 0.5583 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.3778, allocations: 29.7 kB / 0.5583 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.378, allocations: 268.2 kB / 0.5586 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.3782, allocations: 150.7 kB / 0.5587 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3783, allocations: 98.12 kB / 0.5588 GB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3785, allocations: 354.9 kB / 0.5591 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3789, allocations: 205 kB / 0.5593 GB, free: 2.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.3793, allocations: 361.5 kB / 0.5597 GB, free: 1.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.3802, allocations: 0.6021 MB / 0.5603 GB, free: 1.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3802, allocations: 4 kB / 0.5603 GB, free: 1 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001063/0.3813, allocations: 0.6348 MB / 0.5609 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3813, allocations: 4 kB / 0.5609 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3813, allocations: 8 kB / 0.5609 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3814, allocations: 8 kB / 0.5609 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.3818, allocations: 107.9 kB / 0.561 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3818, allocations: 15.92 kB / 0.561 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.3821, allocations: 23.98 kB / 0.5611 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.3822, allocations: 20 kB / 0.5611 GB, free: 180 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.3825, allocations: 221.7 kB / 0.5613 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.3826, allocations: 43.7 kB / 0.5613 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.3835, allocations: 0.4886 MB / 0.5618 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.3835, allocations: 15.98 kB / 0.5618 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3835, allocations: 3.938 kB / 0.5618 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3835, allocations: 4 kB / 0.5618 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.3855, allocations: 1.041 MB / 0.5628 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3855, allocations: 8.031 kB / 0.5629 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.3859, allocations: 67.89 kB / 0.5629 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.3859, allocations: 4 kB / 0.5629 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.3859, allocations: 11.98 kB / 0.5629 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3859, allocations: 4 kB / 0.5629 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3859, allocations: 0 / 0.5629 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3871, allocations: 0.8322 MB / 0.5637 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3872, allocations: 31.77 kB / 0.5638 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.3873, allocations: 12.12 kB / 0.5638 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3875, allocations: 15.98 kB / 0.5638 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3875, allocations: 31.88 kB / 0.5638 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3876, allocations: 12 kB / 0.5638 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.3878, allocations: 215.1 kB / 0.5641 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3878, allocations: 0 / 0.5641 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.3883, allocations: 100 kB / 0.5641 GB, free: 12.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.39, allocations: 1.396 MB / 0.5655 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.3908, allocations: 487.9 kB / 0.566 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3908, allocations: 0 / 0.566 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.3911, allocations: 198.1 kB / 0.5662 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.3917, allocations: 76.84 kB / 0.5662 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.3976, allocations: 4.403 MB / 0.5705 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.398, allocations: 274.2 kB / 0.5708 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.3983, allocations: 131.1 kB / 0.5709 GB, free: 5.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.3985, allocations: 135.4 kB / 0.5711 GB, free: 5.551 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3986, allocations: 4 kB / 0.5711 GB, free: 5.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.4397, allocations: 8.602 MB / 0.5795 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 15.78 kB / 0.5795 GB, free: 13.1 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.646573333069682] Failed to read output from testmodel.py, exit status != 0: 11.843434805981815 11.861265048 11.494499085 Calling exit ...