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.001809/0.001809, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002076/0.002076, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.543/1.543, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.1966/0.1966, allocations: 38.51 MB / 349.4 MB, free: 2.711 MB / 270.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002339/0.002339, allocations: 63.89 kB / 487.8 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 62.42 MB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009996/0.1379, allocations: 6.601 MB / 0.5438 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.1429, allocations: 2.5 MB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.1435, allocations: 31.75 kB / 0.5463 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.1455, allocations: 0.622 MB / 0.5469 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.1475, allocations: 0.6847 MB / 0.5476 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1488, allocations: 451 kB / 0.548 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.1506, allocations: 1.365 MB / 0.5493 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006891/0.1513, allocations: 384 kB / 0.5497 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1523, allocations: 0.5915 MB / 0.5503 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.1536, allocations: 0.8606 MB / 0.5511 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1538, allocations: 72 kB / 0.5512 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006537/0.1544, allocations: 311.5 kB / 0.5515 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.155, allocations: 0.5221 MB / 0.552 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006374/0.1557, allocations: 0.5247 MB / 0.5525 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.1575, allocations: 1.354 MB / 0.5538 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1575, allocations: 0 / 0.5538 GB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1575, allocations: 0 / 0.5538 GB, free: 6.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.1575, allocations: 0 / 0.5538 GB, free: 6.66 MB / 414.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.002618/0.1601, allocations: 1.352 MB / 0.5551 GB, free: 5.246 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1601, allocations: 12.03 kB / 0.5551 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.38e-05/0.1602, allocations: 26.12 kB / 0.5552 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.1604, allocations: 156.2 kB / 0.5553 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.1618, allocations: 268 kB / 0.5556 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.1631, allocations: 0.7063 MB / 0.5563 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.1632, allocations: 70.11 kB / 0.5563 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.1634, allocations: 95.92 kB / 0.5564 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.1656, allocations: 1.388 MB / 0.5578 GB, free: 2.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.1656, allocations: 7.938 kB / 0.5578 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.1657, allocations: 35.98 kB / 0.5578 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.166, allocations: 117.9 kB / 0.5579 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.1679, allocations: 1.097 MB / 0.559 GB, free: 1.129 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.007617/0.1755, allocations: 5.959 MB / 0.5648 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1766, allocations: 0.6552 MB / 0.5655 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004753/0.1771, allocations: 295.2 kB / 0.5657 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.1772, allocations: 12.53 kB / 0.5658 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.1779, allocations: 468.6 kB / 0.5662 GB, free: 9.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=65): time 1.944e-06/0.1779, allocations: 0 / 0.5662 GB, free: 9.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.003822/0.1817, allocations: 2.186 MB / 0.5683 GB, free: 7.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1818, allocations: 162.8 kB / 0.5685 GB, free: 6.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.1827, allocations: 0.6367 MB / 0.5691 GB, free: 6.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.1827, allocations: 37.7 kB / 0.5691 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.1832, allocations: 0.5463 MB / 0.5697 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.1835, allocations: 246 kB / 0.5699 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.1838, allocations: 206.8 kB / 0.5701 GB, free: 5.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.184, allocations: 394.7 kB / 0.5705 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.1846, allocations: 342.4 kB / 0.5708 GB, free: 4.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.1857, allocations: 0.7698 MB / 0.5716 GB, free: 3.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.1875, allocations: 1.24 MB / 0.5728 GB, free: 2.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.1875, allocations: 4 kB / 0.5728 GB, free: 2.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002819/0.1903, allocations: 1.435 MB / 0.5742 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.1904, allocations: 37.7 kB / 0.5742 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001616/0.192, allocations: 0.7817 MB / 0.575 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007916/0.1928, allocations: 249.5 kB / 0.5752 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.1935, allocations: 215.6 kB / 0.5754 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.1991, allocations: 4.39 MB / 0.5797 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.1999, allocations: 56.03 kB / 0.5798 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2, allocations: 67.91 kB / 0.5798 GB, free: 10.53 MB / 446.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.0007857/0.2008, allocations: 398.9 kB / 0.5802 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.201, allocations: 79.48 kB / 0.5803 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2026, allocations: 0.8516 MB / 0.5811 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2026, allocations: 8 kB / 0.5811 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2026, allocations: 3.938 kB / 0.5811 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2026, allocations: 3.984 kB / 0.5811 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.2056, allocations: 1.767 MB / 0.5829 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2056, allocations: 0 / 0.5829 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.2064, allocations: 147.8 kB / 0.583 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.2064, allocations: 7.938 kB / 0.583 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.2064, allocations: 23.98 kB / 0.583 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.2064, allocations: 4 kB / 0.583 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.2064, allocations: 3.984 kB / 0.583 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.2085, allocations: 1.313 MB / 0.5843 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.2088, allocations: 212.6 kB / 0.5845 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.2089, allocations: 23.94 kB / 0.5845 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.2092, allocations: 27.97 kB / 0.5846 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.2094, allocations: 44.44 kB / 0.5846 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.2095, allocations: 39.97 kB / 0.5847 GB, free: 5.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005758/0.2101, allocations: 427 kB / 0.5851 GB, free: 5.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2101, allocations: 0 / 0.5851 GB, free: 5.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000888/0.211, allocations: 232 kB / 0.5853 GB, free: 4.781 MB / 446.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.00228/0.2132, allocations: 1.874 MB / 0.5871 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.2154, allocations: 1.198 MB / 0.5883 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2154, allocations: 0 / 0.5883 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.216, allocations: 418.4 kB / 0.5887 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/0.2168, allocations: 134 kB / 0.5888 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/0.5085, allocations: 8.088 MB / 0.5967 GB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.5093, allocations: 1.115 MB / 0.5978 GB, free: 47.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007858/0.5101, allocations: 287.8 kB / 0.5981 GB, free: 47.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.5105, allocations: 331.9 kB / 0.5984 GB, free: 47 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5105, allocations: 0 / 0.5984 GB, free: 47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.558, allocations: 16.32 MB / 0.6143 GB, free: 41.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12, allocations: 7.188 kB / 0.6143 GB, free: 41.66 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.092931606981438] Failed to read output from testmodel.py, exit status != 0: 12.151639252027962 12.161872523 12.002134879 Calling exit ...