Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001629/0.001629, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001636/0.001636, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.208/0.208, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="cs",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.002233/0.002233, allocations: 59.91 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 62.46 MB / 0.5427 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008091/0.352, allocations: 5.312 MB / 0.5479 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.355, allocations: 1.314 MB / 0.5492 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.3554, allocations: 27.69 kB / 0.5492 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.356, allocations: 122.4 kB / 0.5493 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.3574, allocations: 391.7 kB / 0.5497 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3578, allocations: 158.6 kB / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3589, allocations: 0.7738 MB / 0.5506 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.3592, allocations: 145.1 kB / 0.5507 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.36, allocations: 369.4 kB / 0.5511 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.3609, allocations: 428.5 kB / 0.5515 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.721e-05/0.361, allocations: 40.19 kB / 0.5515 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3611, allocations: 40.16 kB / 0.5516 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.3614, allocations: 214.5 kB / 0.5518 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.3617, allocations: 219.3 kB / 0.552 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000939/0.3627, allocations: 0.5805 MB / 0.5526 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3627, allocations: 3.938 kB / 0.5526 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3627, allocations: 0 / 0.5526 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3627, allocations: 0.9688 kB / 0.5526 GB, free: 8.988 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001801/0.3645, allocations: 0.8409 MB / 0.5534 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3645, allocations: 13.61 kB / 0.5534 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.575e-05/0.3646, allocations: 11.06 kB / 0.5534 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3647, allocations: 78.56 kB / 0.5535 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.3648, allocations: 66.33 kB / 0.5535 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009542/0.3658, allocations: 457.6 kB / 0.554 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3658, allocations: 30.53 kB / 0.554 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.3659, allocations: 43.11 kB / 0.5541 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009866/0.3669, allocations: 0.5599 MB / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3669, allocations: 0 / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.3669, allocations: 21.7 kB / 0.5546 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.367, allocations: 21.56 kB / 0.5546 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.3677, allocations: 423.4 kB / 0.555 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.3704, allocations: 1.753 MB / 0.5568 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.371, allocations: 335 kB / 0.5571 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.3714, allocations: 187.4 kB / 0.5573 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3714, allocations: 8.188 kB / 0.5573 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.3719, allocations: 318.5 kB / 0.5576 GB, free: 4.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.3719, allocations: 4 kB / 0.5576 GB, free: 4.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00221/0.3741, allocations: 1.194 MB / 0.5587 GB, free: 3.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.3742, allocations: 170.2 kB / 0.5589 GB, free: 3.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.3747, allocations: 397.8 kB / 0.5593 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.3748, allocations: 33.7 kB / 0.5593 GB, free: 2.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.375, allocations: 292.3 kB / 0.5596 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3752, allocations: 130.9 kB / 0.5597 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3753, allocations: 94.14 kB / 0.5598 GB, free: 2.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3756, allocations: 358.8 kB / 0.5601 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.3758, allocations: 150.8 kB / 0.5603 GB, free: 1.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.3762, allocations: 319.2 kB / 0.5606 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.3769, allocations: 481.3 kB / 0.5611 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3769, allocations: 4 kB / 0.5611 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008775/0.3778, allocations: 0.559 MB / 0.5616 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.3778, allocations: 33.7 kB / 0.5616 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3779, allocations: 4 kB / 0.5616 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.3779, allocations: 8 kB / 0.5616 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3784, allocations: 107.8 kB / 0.5617 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.3784, allocations: 8 kB / 0.5618 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.3787, allocations: 27.97 kB / 0.5618 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.3787, allocations: 31.98 kB / 0.5618 GB, free: 88 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0003681/0.3791, allocations: 255.3 kB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.3792, allocations: 51.66 kB / 0.5621 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008622/0.3801, allocations: 493.1 kB / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.3801, allocations: 4 kB / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3801, allocations: 0 / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3801, allocations: 0 / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.3818, allocations: 0.9442 MB / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3818, allocations: 4 kB / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3821, allocations: 67.95 kB / 0.5636 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3821, allocations: 4 kB / 0.5636 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.3821, allocations: 8 kB / 0.5636 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.3821, allocations: 4 kB / 0.5636 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3821, allocations: 0 / 0.5636 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3833, allocations: 0.7812 MB / 0.5643 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3834, allocations: 59.69 kB / 0.5644 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.3835, allocations: 8 kB / 0.5644 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.3837, allocations: 20.05 kB / 0.5644 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.3838, allocations: 27.89 kB / 0.5645 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.3838, allocations: 39.97 kB / 0.5645 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.3842, allocations: 267.1 kB / 0.5648 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3842, allocations: 4 kB / 0.5648 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.3847, allocations: 100 kB / 0.5648 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.001571/0.3863, allocations: 1.333 MB / 0.5662 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.387, allocations: 451.4 kB / 0.5666 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.387, allocations: 4 kB / 0.5666 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.3873, allocations: 260.9 kB / 0.5668 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.3881, allocations: 114.9 kB / 0.5669 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005734/0.3938, allocations: 4.276 MB / 0.5711 GB, free: 6.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3942, allocations: 288.1 kB / 0.5714 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.3944, allocations: 84.31 kB / 0.5715 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.3947, allocations: 171.4 kB / 0.5716 GB, free: 5.469 MB / 414.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3947, allocations: 0 / 0.5716 GB, free: 5.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4307, allocations: 9.354 MB / 0.5808 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.79, allocations: 0 / 0.5808 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.824165223049931] Failed to read output from testmodel.py, exit status != 0: 12.960662906989455 12.990187656 12.621558231 Calling exit ...