Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001449/0.001449, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001773/0.001773, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.487/1.487, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1848/0.1848, allocations: 38.5 MB / 349.4 MB, free: 2.602 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_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.002113/0.002113, allocations: 64.95 kB / 487.8 MB, free: 32.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1229, allocations: 62.42 MB / 0.5374 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009122/0.1321, allocations: 6.602 MB / 0.5438 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.137, allocations: 2.488 MB / 0.5462 GB, free: 416 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.1375, allocations: 35.69 kB / 0.5463 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1393, allocations: 0.6144 MB / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.1414, allocations: 0.6886 MB / 0.5476 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1427, allocations: 463 kB / 0.548 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.1446, allocations: 1.357 MB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006565/0.1453, allocations: 391.9 kB / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.1462, allocations: 0.5915 MB / 0.5503 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.1475, allocations: 0.849 MB / 0.5511 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1476, allocations: 76 kB / 0.5512 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.1482, allocations: 307.5 kB / 0.5515 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.1487, allocations: 0.5298 MB / 0.552 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.1493, allocations: 0.5286 MB / 0.5525 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1511, allocations: 1.339 MB / 0.5538 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1511, allocations: 4 kB / 0.5538 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1511, allocations: 0 / 0.5538 GB, free: 8.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.1511, allocations: 0 / 0.5538 GB, free: 8.633 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.002602/0.1537, allocations: 1.36 MB / 0.5551 GB, free: 7.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1537, allocations: 8.031 kB / 0.5551 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.683e-05/0.1538, allocations: 26.19 kB / 0.5552 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.1539, allocations: 160.2 kB / 0.5553 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.1555, allocations: 271.9 kB / 0.5556 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1568, allocations: 0.7024 MB / 0.5563 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.1569, allocations: 66.11 kB / 0.5563 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.1571, allocations: 99.86 kB / 0.5564 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.1593, allocations: 1.392 MB / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.1593, allocations: 0 / 0.5578 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1594, allocations: 39.92 kB / 0.5578 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/0.1597, allocations: 117.9 kB / 0.5579 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.1615, allocations: 1.097 MB / 0.559 GB, free: 3.094 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.00743/0.1689, allocations: 5.955 MB / 0.5648 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.17, allocations: 0.6658 MB / 0.5655 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.1705, allocations: 287.3 kB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.945e-05/0.1706, allocations: 16.55 kB / 0.5658 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007332/0.1713, allocations: 472.9 kB / 0.5662 GB, free: 11.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=65): time 2.164e-06/0.1713, allocations: 0 / 0.5662 GB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.003787/0.1751, allocations: 2.182 MB / 0.5683 GB, free: 9.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.1752, allocations: 170.7 kB / 0.5685 GB, free: 8.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.176, allocations: 0.6368 MB / 0.5691 GB, free: 8.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.1761, allocations: 33.7 kB / 0.5692 GB, free: 8.191 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.1765, allocations: 0.5424 MB / 0.5697 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.1768, allocations: 250 kB / 0.5699 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.1771, allocations: 206.8 kB / 0.5701 GB, free: 7.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1773, allocations: 390.7 kB / 0.5705 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.1779, allocations: 342.4 kB / 0.5708 GB, free: 6.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009295/0.1788, allocations: 0.7659 MB / 0.5716 GB, free: 5.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.1805, allocations: 1.248 MB / 0.5728 GB, free: 4.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.1805, allocations: 4 kB / 0.5728 GB, free: 4.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002713/0.1832, allocations: 1.427 MB / 0.5742 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.1833, allocations: 42.66 kB / 0.5742 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001538/0.1848, allocations: 0.7815 MB / 0.575 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/0.1856, allocations: 253.5 kB / 0.5752 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/0.1863, allocations: 219.6 kB / 0.5754 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/0.1916, allocations: 4.375 MB / 0.5797 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.1923, allocations: 56.03 kB / 0.5798 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.1924, allocations: 64.11 kB / 0.5798 GB, free: 12.5 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.0006062/0.193, allocations: 402.9 kB / 0.5802 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1932, allocations: 83.48 kB / 0.5803 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1946, allocations: 0.8516 MB / 0.5811 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1947, allocations: 4 kB / 0.5811 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1947, allocations: 4 kB / 0.5811 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1947, allocations: 3.984 kB / 0.5811 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.1975, allocations: 1.768 MB / 0.5829 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1975, allocations: 0 / 0.5829 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.1983, allocations: 155.7 kB / 0.583 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.1983, allocations: 4 kB / 0.583 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.1983, allocations: 19.98 kB / 0.583 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1984, allocations: 4 kB / 0.583 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1984, allocations: 7.875 kB / 0.583 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.2003, allocations: 1.306 MB / 0.5843 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2006, allocations: 212.5 kB / 0.5845 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/0.2007, allocations: 20 kB / 0.5845 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.2011, allocations: 31.97 kB / 0.5846 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.2012, allocations: 48.38 kB / 0.5846 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.2013, allocations: 43.97 kB / 0.5847 GB, free: 7.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005167/0.2018, allocations: 423 kB / 0.5851 GB, free: 6.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2018, allocations: 0 / 0.5851 GB, free: 6.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.2027, allocations: 236 kB / 0.5853 GB, free: 6.742 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.002347/0.205, allocations: 1.87 MB / 0.5871 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.2071, allocations: 1.202 MB / 0.5883 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2071, allocations: 0 / 0.5883 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.2077, allocations: 418.8 kB / 0.5887 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.2086, allocations: 136.2 kB / 0.5888 GB, free: 3.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.2211, allocations: 8.089 MB / 0.5967 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.2221, allocations: 1.122 MB / 0.5978 GB, free: 9.238 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007565/0.2229, allocations: 282.4 kB / 0.5981 GB, free: 8.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.2234, allocations: 335.3 kB / 0.5984 GB, free: 8.629 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2234, allocations: 0 / 0.5984 GB, free: 8.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/0.5249, allocations: 16.31 MB / 0.6143 GB, free: 65.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.04, allocations: 12.38 kB / 0.6143 GB, free: 65.36 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.054380301036872] Failed to read output from testmodel.py, exit status != 0: 12.194701095984783 12.214080696 12.059398842 Calling exit ...