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.001521/0.001521, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.00151/0.00151, allocations: 212 kB / 23.74 MB, free: 4.656 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1888/0.1888, allocations: 38.53 MB / 352.5 MB, free: 12.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",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.002147/0.002147, allocations: 67.89 kB / 492.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007925/0.3456, allocations: 5.679 MB / 0.5476 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3482, allocations: 1.412 MB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.3485, allocations: 27.38 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.349, allocations: 132.2 kB / 0.5491 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009617/0.3499, allocations: 395.7 kB / 0.5495 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3503, allocations: 154.4 kB / 0.5496 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3515, allocations: 0.7695 MB / 0.5504 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.3518, allocations: 149.7 kB / 0.5505 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.3525, allocations: 369.8 kB / 0.5509 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.3534, allocations: 416.9 kB / 0.5513 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.612e-05/0.3535, allocations: 39.09 kB / 0.5513 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3536, allocations: 40.44 kB / 0.5513 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.3539, allocations: 214.2 kB / 0.5515 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.3543, allocations: 275.4 kB / 0.5518 GB, free: 9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009233/0.3552, allocations: 0.5747 MB / 0.5524 GB, free: 8.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3552, allocations: 7.984 kB / 0.5524 GB, free: 8.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3552, allocations: 0 / 0.5524 GB, free: 8.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3552, allocations: 0 / 0.5524 GB, free: 8.605 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.001786/0.357, allocations: 0.8316 MB / 0.5532 GB, free: 7.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.357, allocations: 18.02 kB / 0.5532 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.3572, allocations: 85.88 kB / 0.5533 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3573, allocations: 65.53 kB / 0.5533 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.3582, allocations: 450.8 kB / 0.5538 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.3582, allocations: 29.34 kB / 0.5538 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.778e-05/0.3583, allocations: 43.66 kB / 0.5538 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.3592, allocations: 0.5335 MB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3592, allocations: 1.094 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.3593, allocations: 25.45 kB / 0.5544 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.3593, allocations: 21.34 kB / 0.5544 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.36, allocations: 400.6 kB / 0.5548 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.3628, allocations: 1.874 MB / 0.5566 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.3634, allocations: 318.4 kB / 0.5569 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.3638, allocations: 165.7 kB / 0.5571 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3638, allocations: 256 / 0.5571 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.3642, allocations: 284.8 kB / 0.5574 GB, free: 4.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/0.3642, allocations: 4 kB / 0.5574 GB, free: 4.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.001981/0.3662, allocations: 1.129 MB / 0.5585 GB, free: 3.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3663, allocations: 162.2 kB / 0.5586 GB, free: 3.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.3668, allocations: 397.8 kB / 0.559 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.3668, allocations: 33.7 kB / 0.559 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.3671, allocations: 292.4 kB / 0.5593 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3672, allocations: 138.9 kB / 0.5594 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3673, allocations: 90.14 kB / 0.5595 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.3675, allocations: 362.8 kB / 0.5599 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3678, allocations: 116.9 kB / 0.56 GB, free: 1.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.3681, allocations: 293.4 kB / 0.5603 GB, free: 1.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.3688, allocations: 477.3 kB / 0.5607 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3688, allocations: 0 / 0.5607 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008607/0.3697, allocations: 0.5255 MB / 0.5612 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3697, allocations: 33.7 kB / 0.5613 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3697, allocations: 8.688 kB / 0.5613 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.3697, allocations: 8 kB / 0.5613 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.3702, allocations: 111.8 kB / 0.5614 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/0.3702, allocations: 15.92 kB / 0.5614 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.3705, allocations: 23.98 kB / 0.5614 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.3706, allocations: 28.03 kB / 0.5615 GB, free: 15.99 MB / 414.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.0003594/0.3709, allocations: 247.2 kB / 0.5617 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.371, allocations: 51.66 kB / 0.5617 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.3718, allocations: 459.4 kB / 0.5622 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3718, allocations: 4 kB / 0.5622 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3718, allocations: 0 / 0.5622 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3718, allocations: 3.984 kB / 0.5622 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.3734, allocations: 0.9463 MB / 0.5631 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3734, allocations: 0 / 0.5631 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.3737, allocations: 68.03 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3737, allocations: 4 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.3737, allocations: 15.98 kB / 0.5632 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3737, allocations: 0 / 0.5632 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3737, allocations: 7.984 kB / 0.5632 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3747, allocations: 0.7114 MB / 0.5639 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.3749, allocations: 67.7 kB / 0.564 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.3749, allocations: 8 kB / 0.564 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3752, allocations: 15.98 kB / 0.564 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.3752, allocations: 23.91 kB / 0.564 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.3753, allocations: 35.95 kB / 0.564 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.3756, allocations: 267.1 kB / 0.5643 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3756, allocations: 4.062 kB / 0.5643 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.3761, allocations: 104 kB / 0.5644 GB, free: 12.85 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.001426/0.3775, allocations: 1.271 MB / 0.5656 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.3782, allocations: 383.2 kB / 0.566 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3782, allocations: 0 / 0.566 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.3785, allocations: 228.6 kB / 0.5662 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.3792, allocations: 108.4 kB / 0.5663 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.3857, allocations: 4.13 MB / 0.5704 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/0.3865, allocations: 0.8859 MB / 0.5712 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.387, allocations: 84.31 kB / 0.5713 GB, free: 5.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.3873, allocations: 171.4 kB / 0.5715 GB, free: 5.262 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3873, allocations: 4 kB / 0.5715 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0561/0.4434, allocations: 9.172 MB / 0.5804 GB, free: 12.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.44, allocations: 7.25 kB / 0.5804 GB, free: 12.23 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.43802075786516] Failed to read output from testmodel.py, exit status != 0: 12.552309079095721 12.578100185 12.21800765 Calling exit ...