Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.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.001434/0.001434, 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.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.51 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.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",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.002019/0.002019, allocations: 67.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 62.41 MB / 0.5374 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009382/0.1255, allocations: 7.396 MB / 0.5446 GB, free: 120 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.1286, allocations: 1.757 MB / 0.5463 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.1289, allocations: 39.69 kB / 0.5463 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.1295, allocations: 238.4 kB / 0.5466 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1307, allocations: 0.5793 MB / 0.5471 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1312, allocations: 215.6 kB / 0.5473 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1326, allocations: 1.262 MB / 0.5486 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.1331, allocations: 270.6 kB / 0.5488 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.1339, allocations: 0.568 MB / 0.5494 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009624/0.1349, allocations: 0.6774 MB / 0.55 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.135, allocations: 60 kB / 0.5501 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1351, allocations: 71.94 kB / 0.5502 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.1355, allocations: 350.9 kB / 0.5505 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.1359, allocations: 429.8 kB / 0.5509 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.137, allocations: 0.9141 MB / 0.5518 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.137, allocations: 0 / 0.5518 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.137, allocations: 0 / 0.5518 GB, free: 8.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.137, allocations: 0 / 0.5518 GB, free: 8.688 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002136/0.1391, allocations: 1.255 MB / 0.553 GB, free: 7.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1392, allocations: 8.031 kB / 0.553 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.243e-05/0.1392, allocations: 25.48 kB / 0.5531 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.1393, allocations: 114.6 kB / 0.5532 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1395, allocations: 96.33 kB / 0.5533 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.1408, allocations: 0.7151 MB / 0.554 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.1408, allocations: 41.31 kB / 0.554 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.1409, allocations: 71.97 kB / 0.5541 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.1423, allocations: 0.806 MB / 0.5548 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1423, allocations: 4 kB / 0.5549 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.1423, allocations: 20 kB / 0.5549 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/0.1424, allocations: 37.3 kB / 0.5549 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1434, allocations: 0.6179 MB / 0.5555 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.1473, allocations: 2.63 MB / 0.5581 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.1482, allocations: 0.561 MB / 0.5586 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.1489, allocations: 343.4 kB / 0.559 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1489, allocations: 8.438 kB / 0.559 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006933/0.1496, allocations: 487 kB / 0.5594 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.305e-06/0.1496, allocations: 0 / 0.5594 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003198/0.1528, allocations: 2.014 MB / 0.5614 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.153, allocations: 251.9 kB / 0.5616 GB, free: 14.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.1537, allocations: 0.5586 MB / 0.5622 GB, free: 13.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1537, allocations: 37.7 kB / 0.5622 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1541, allocations: 412.3 kB / 0.5626 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.1543, allocations: 214.3 kB / 0.5628 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1545, allocations: 146.6 kB / 0.563 GB, free: 12.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.1547, allocations: 382.8 kB / 0.5633 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.1551, allocations: 229.9 kB / 0.5635 GB, free: 12.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.1557, allocations: 457.8 kB / 0.564 GB, free: 11.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1567, allocations: 0.8051 MB / 0.5648 GB, free: 10.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1567, allocations: 0 / 0.5648 GB, free: 10.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001626/0.1583, allocations: 0.9485 MB / 0.5657 GB, free: 9.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.1584, allocations: 67.34 kB / 0.5658 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1584, allocations: 8 kB / 0.5658 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.1588, allocations: 113.5 kB / 0.5659 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.1593, allocations: 148 kB / 0.566 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.1629, allocations: 3.563 MB / 0.5695 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.1634, allocations: 44.16 kB / 0.5695 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.1634, allocations: 47.97 kB / 0.5696 GB, free: 5.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004605/0.1639, allocations: 366.6 kB / 0.5699 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.164, allocations: 79.53 kB / 0.57 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.1653, allocations: 0.778 MB / 0.5708 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.1653, allocations: 11.98 kB / 0.5708 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1653, allocations: 0 / 0.5708 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1653, allocations: 3.938 kB / 0.5708 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.1676, allocations: 1.569 MB / 0.5723 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1676, allocations: 0 / 0.5723 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.1682, allocations: 115.7 kB / 0.5724 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1682, allocations: 0 / 0.5724 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.1682, allocations: 27.98 kB / 0.5724 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1682, allocations: 4.094 kB / 0.5724 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1682, allocations: 4 kB / 0.5725 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.1699, allocations: 1.195 MB / 0.5736 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.1701, allocations: 188.5 kB / 0.5738 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.1702, allocations: 20.06 kB / 0.5738 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.1706, allocations: 27.97 kB / 0.5738 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1707, allocations: 40.38 kB / 0.5739 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-05/0.1708, allocations: 63.92 kB / 0.5739 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.1713, allocations: 387.1 kB / 0.5743 GB, free: 400 kB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1713, allocations: 0 / 0.5743 GB, free: 400 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008048/0.1721, allocations: 176 kB / 0.5745 GB, free: 224 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.00214/0.1742, allocations: 1.782 MB / 0.5762 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1758, allocations: 0.9651 MB / 0.5772 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1758, allocations: 0 / 0.5772 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.1764, allocations: 433.2 kB / 0.5776 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.1772, allocations: 159.6 kB / 0.5777 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.1862, allocations: 6.302 MB / 0.5839 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.1869, allocations: 1.016 MB / 0.5849 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.1873, allocations: 153.8 kB / 0.585 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.1877, allocations: 275.3 kB / 0.5853 GB, free: 4.672 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1877, allocations: 0 / 0.5853 GB, free: 4.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/0.4637, allocations: 14.23 MB / 0.5992 GB, free: 49.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.31, allocations: 8.75 kB / 0.5992 GB, free: 49.31 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.199030641000718] Failed to read output from testmodel.py, exit status != 0: 13.459345840965398 13.472967506 13.333457129 Calling exit ...