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.001305/0.001305, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001406/0.001406, allocations: 214.8 kB / 21.46 MB, free: 1.629 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.05 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.5 MB / 349.4 MB, free: 2.582 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.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.001971/0.001971, allocations: 71.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1207, allocations: 62.41 MB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.008619/0.1294, allocations: 5.574 MB / 0.5428 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1322, allocations: 1.394 MB / 0.5442 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/0.1326, allocations: 27.75 kB / 0.5442 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.1332, allocations: 147 kB / 0.5443 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1343, allocations: 382.2 kB / 0.5447 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1348, allocations: 155.6 kB / 0.5448 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1358, allocations: 0.7748 MB / 0.5456 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1361, allocations: 165.7 kB / 0.5458 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.1367, allocations: 366.5 kB / 0.5461 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.1374, allocations: 422.5 kB / 0.5465 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.1374, allocations: 40 kB / 0.5465 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.1375, allocations: 40 kB / 0.5466 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1378, allocations: 211.3 kB / 0.5468 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.1381, allocations: 274.5 kB / 0.547 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.1388, allocations: 0.5834 MB / 0.5476 GB, free: 12.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1388, allocations: 0 / 0.5476 GB, free: 12.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1388, allocations: 4 kB / 0.5476 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1388, allocations: 0 / 0.5476 GB, free: 12.98 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001621/0.1404, allocations: 0.8992 MB / 0.5485 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1405, allocations: 15.95 kB / 0.5485 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.704e-05/0.1405, allocations: 13.19 kB / 0.5485 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.385e-05/0.1406, allocations: 86.72 kB / 0.5486 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1407, allocations: 60.56 kB / 0.5487 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.1416, allocations: 0.5064 MB / 0.5492 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1416, allocations: 32.94 kB / 0.5492 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.1417, allocations: 40 kB / 0.5492 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.1425, allocations: 0.5429 MB / 0.5498 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1425, allocations: 0 / 0.5498 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.1426, allocations: 16 kB / 0.5498 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.1426, allocations: 24.94 kB / 0.5498 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.1433, allocations: 399.6 kB / 0.5502 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1459, allocations: 1.924 MB / 0.5521 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.1466, allocations: 316.8 kB / 0.5524 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.1469, allocations: 165.7 kB / 0.5525 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1469, allocations: 7.938 kB / 0.5525 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.1474, allocations: 280.3 kB / 0.5528 GB, free: 7.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 1.784e-06/0.1474, allocations: 0 / 0.5528 GB, free: 7.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002076/0.1495, allocations: 1.201 MB / 0.554 GB, free: 6.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.1496, allocations: 166.2 kB / 0.5541 GB, free: 5.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.1501, allocations: 397.8 kB / 0.5545 GB, free: 5.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1501, allocations: 33.7 kB / 0.5545 GB, free: 5.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.1504, allocations: 300.2 kB / 0.5548 GB, free: 5.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.1505, allocations: 123 kB / 0.5549 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.1506, allocations: 98.33 kB / 0.555 GB, free: 4.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1508, allocations: 358.8 kB / 0.5554 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.1511, allocations: 117.1 kB / 0.5555 GB, free: 4.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1514, allocations: 290.1 kB / 0.5558 GB, free: 4.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.1521, allocations: 479.6 kB / 0.5562 GB, free: 3.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1521, allocations: 0 / 0.5562 GB, free: 3.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008157/0.1529, allocations: 0.5264 MB / 0.5567 GB, free: 3.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.1529, allocations: 33.7 kB / 0.5568 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1529, allocations: 8 kB / 0.5568 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1529, allocations: 8.688 kB / 0.5568 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.1534, allocations: 111.8 kB / 0.5569 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.1534, allocations: 11.94 kB / 0.5569 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1536, allocations: 23.98 kB / 0.5569 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.1537, allocations: 27.98 kB / 0.557 GB, free: 2.797 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.0002782/0.154, allocations: 263.1 kB / 0.5572 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.154, allocations: 47.72 kB / 0.5573 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.1548, allocations: 455.4 kB / 0.5577 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1548, allocations: 8 kB / 0.5577 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1548, allocations: 0 / 0.5577 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1548, allocations: 3.984 kB / 0.5577 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1563, allocations: 0.971 MB / 0.5586 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1563, allocations: 3.938 kB / 0.5586 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.1566, allocations: 63.89 kB / 0.5587 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1567, allocations: 4.062 kB / 0.5587 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.1567, allocations: 16 kB / 0.5587 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1567, allocations: 0 / 0.5587 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1567, allocations: 7.938 kB / 0.5587 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.1577, allocations: 0.7113 MB / 0.5594 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.1579, allocations: 145.1 kB / 0.5596 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.1579, allocations: 8 kB / 0.5596 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.1581, allocations: 15.98 kB / 0.5596 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.1582, allocations: 27.72 kB / 0.5596 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.1583, allocations: 28.03 kB / 0.5596 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.1586, allocations: 271.1 kB / 0.5599 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 0.5599 GB, free: 15.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.159, allocations: 103.9 kB / 0.56 GB, free: 15.53 MB / 430.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.00134/0.1604, allocations: 1.267 MB / 0.5612 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.161, allocations: 391 kB / 0.5616 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.161, allocations: 0 / 0.5616 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.1613, allocations: 228.9 kB / 0.5618 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006575/0.162, allocations: 108.4 kB / 0.5619 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.1675, allocations: 4.138 MB / 0.566 GB, free: 9.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.1682, allocations: 0.8858 MB / 0.5668 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.1685, allocations: 84.31 kB / 0.5669 GB, free: 8.098 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.1688, allocations: 179.4 kB / 0.5671 GB, free: 7.922 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1688, allocations: 0 / 0.5671 GB, free: 7.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.1988, allocations: 8.805 MB / 0.5757 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/9.713, allocations: 11.98 kB / 0.5757 GB, free: 15.25 MB / 446.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.54663148400141] Failed to read output from testmodel.py, exit status != 0: 9.844637867994606 9.869623912 9.725594752 Calling exit ...