Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001769/0.001769, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002723/0.002723, allocations: 211.9 kB / 23.73 MB, free: 4.387 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1886/0.1886, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002065/0.002065, allocations: 63.91 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008372/0.3139, allocations: 6.235 MB / 0.548 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.3185, allocations: 2.309 MB / 0.5503 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.319, allocations: 33.88 kB / 0.5503 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.3207, allocations: 0.5873 MB / 0.5509 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3223, allocations: 0.6938 MB / 0.5516 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3235, allocations: 459.6 kB / 0.552 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.3251, allocations: 1.36 MB / 0.5533 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006426/0.3258, allocations: 413.3 kB / 0.5537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.3267, allocations: 0.5873 MB / 0.5543 GB, free: 7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.3281, allocations: 0.8326 MB / 0.5551 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.3282, allocations: 75.03 kB / 0.5552 GB, free: 6.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.329, allocations: 300.8 kB / 0.5555 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.3296, allocations: 0.526 MB / 0.556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.3301, allocations: 445.9 kB / 0.5564 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.3319, allocations: 1.358 MB / 0.5577 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3319, allocations: 0 / 0.5577 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3319, allocations: 8 kB / 0.5578 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3319, allocations: 0 / 0.5578 GB, free: 4.035 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002494/0.3344, allocations: 1.273 MB / 0.559 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3344, allocations: 19.98 kB / 0.559 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.3347, allocations: 160.2 kB / 0.5592 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.336, allocations: 264 kB / 0.5594 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.3374, allocations: 0.6457 MB / 0.5601 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.3375, allocations: 66.36 kB / 0.5601 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.3377, allocations: 95.91 kB / 0.5602 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3398, allocations: 1.413 MB / 0.5616 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.3398, allocations: 7.875 kB / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.3399, allocations: 39.98 kB / 0.5616 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.3402, allocations: 117.9 kB / 0.5617 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3421, allocations: 1.118 MB / 0.5628 GB, free: 14.63 MB / 414.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.00709/0.3492, allocations: 5.461 MB / 0.5682 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.3503, allocations: 0.6199 MB / 0.5688 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3508, allocations: 324.8 kB / 0.5691 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.3508, allocations: 4.5 kB / 0.5691 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/0.3515, allocations: 0.5024 MB / 0.5696 GB, free: 7.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.745e-06/0.3515, allocations: 0 / 0.5696 GB, free: 7.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003739/0.3553, allocations: 2.173 MB / 0.5717 GB, free: 5.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3554, allocations: 162.9 kB / 0.5719 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.3562, allocations: 0.6638 MB / 0.5725 GB, free: 4.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.3563, allocations: 45.69 kB / 0.5725 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.3567, allocations: 0.5424 MB / 0.5731 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.357, allocations: 242 kB / 0.5733 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.3572, allocations: 199 kB / 0.5735 GB, free: 3.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3575, allocations: 394.7 kB / 0.5739 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.3581, allocations: 376 kB / 0.5742 GB, free: 2.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3591, allocations: 0.8031 MB / 0.575 GB, free: 1.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3607, allocations: 1.242 MB / 0.5762 GB, free: 36 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3607, allocations: 4 kB / 0.5762 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002691/0.3634, allocations: 1.466 MB / 0.5777 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.3634, allocations: 45.62 kB / 0.5777 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001487/0.3649, allocations: 0.7807 MB / 0.5785 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007155/0.3656, allocations: 241.5 kB / 0.5787 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.3664, allocations: 223.6 kB / 0.5789 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.3714, allocations: 4.14 MB / 0.583 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.372, allocations: 60.03 kB / 0.583 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.3721, allocations: 67.91 kB / 0.5831 GB, free: 8.746 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006005/0.3727, allocations: 395.6 kB / 0.5835 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3729, allocations: 87.41 kB / 0.5835 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.3743, allocations: 0.8869 MB / 0.5844 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3744, allocations: 4 kB / 0.5844 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3744, allocations: 0 / 0.5844 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3744, allocations: 7.984 kB / 0.5844 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.3773, allocations: 1.715 MB / 0.5861 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3773, allocations: 4.156 kB / 0.5861 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/0.378, allocations: 143.8 kB / 0.5862 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.378, allocations: 4 kB / 0.5862 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.378, allocations: 23.98 kB / 0.5863 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.3781, allocations: 7.938 kB / 0.5863 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3781, allocations: 3.938 kB / 0.5863 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.3801, allocations: 1.381 MB / 0.5876 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3805, allocations: 131.5 kB / 0.5877 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.3806, allocations: 20 kB / 0.5878 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.381, allocations: 27.97 kB / 0.5878 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3811, allocations: 44.36 kB / 0.5878 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/0.3812, allocations: 48.05 kB / 0.5879 GB, free: 3.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005462/0.3817, allocations: 423 kB / 0.5883 GB, free: 3.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3817, allocations: 0 / 0.5883 GB, free: 3.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.3826, allocations: 228 kB / 0.5885 GB, free: 3.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (64): * Single equations (assignments): 62 * 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.002314/0.3849, allocations: 1.952 MB / 0.5904 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.3869, allocations: 1.254 MB / 0.5916 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3869, allocations: 0 / 0.5916 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.3876, allocations: 452.2 kB / 0.5921 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.3883, allocations: 143.7 kB / 0.5922 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.4006, allocations: 8.234 MB / 0.6002 GB, free: 6.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.4013, allocations: 0.5117 MB / 0.6007 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007599/0.402, allocations: 290.4 kB / 0.601 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.4025, allocations: 331.3 kB / 0.6013 GB, free: 5.137 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4025, allocations: 0 / 0.6013 GB, free: 5.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05583/0.4583, allocations: 17.1 MB / 0.618 GB, free: 4.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.72, allocations: 0 / 0.618 GB, free: 4.27 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.603200611192733] Failed to read output from testmodel.py, exit status != 0: 12.84756336407736 12.870365793 12.534154908 Calling exit ...