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.001335/0.001335, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001536/0.001536, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.191/0.191, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",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.002588/0.002588, allocations: 67.89 kB / 492.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3189, allocations: 62.46 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009409/0.3283, allocations: 7.508 MB / 0.5493 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.3317, allocations: 1.762 MB / 0.5511 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.3321, allocations: 39.06 kB / 0.5511 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.3328, allocations: 241.6 kB / 0.5513 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3342, allocations: 0.5859 MB / 0.5519 GB, free: 8.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.3348, allocations: 221.1 kB / 0.5521 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3365, allocations: 1.262 MB / 0.5533 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.337, allocations: 218 kB / 0.5535 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009995/0.338, allocations: 0.574 MB / 0.5541 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.3391, allocations: 0.6774 MB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.3392, allocations: 62.66 kB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3394, allocations: 67.28 kB / 0.5549 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.3398, allocations: 337.8 kB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.3403, allocations: 434.3 kB / 0.5556 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3414, allocations: 0.9264 MB / 0.5565 GB, free: 5.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3414, allocations: 0 / 0.5565 GB, free: 5.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3415, allocations: 1.094 kB / 0.5565 GB, free: 5.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.3415, allocations: 0 / 0.5565 GB, free: 5.566 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002166/0.3436, allocations: 1.176 MB / 0.5577 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3437, allocations: 15.56 kB / 0.5577 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.3438, allocations: 114.7 kB / 0.5578 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.344, allocations: 96.33 kB / 0.5579 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3453, allocations: 0.6392 MB / 0.5585 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.3453, allocations: 49.31 kB / 0.5586 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3454, allocations: 59.98 kB / 0.5586 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3467, allocations: 0.8099 MB / 0.5594 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3467, allocations: 3.938 kB / 0.5594 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.3468, allocations: 28 kB / 0.5594 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.3469, allocations: 33.3 kB / 0.5595 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3479, allocations: 0.614 MB / 0.5601 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.3516, allocations: 2.582 MB / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3526, allocations: 0.5736 MB / 0.5632 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.3533, allocations: 331 kB / 0.5635 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3533, allocations: 8.438 kB / 0.5635 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.3539, allocations: 483.7 kB / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.124e-06/0.3539, allocations: 0 / 0.5639 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003073/0.357, allocations: 1.92 MB / 0.5658 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.3572, allocations: 251.8 kB / 0.5661 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.3579, allocations: 0.5703 MB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.3579, allocations: 41.83 kB / 0.5667 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.3582, allocations: 408.4 kB / 0.567 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.3584, allocations: 214.2 kB / 0.5673 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.3586, allocations: 154.6 kB / 0.5674 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3589, allocations: 382.8 kB / 0.5678 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.3592, allocations: 225.8 kB / 0.568 GB, free: 9.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.3598, allocations: 453.8 kB / 0.5684 GB, free: 8.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3608, allocations: 0.7964 MB / 0.5692 GB, free: 7.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3608, allocations: 4 kB / 0.5692 GB, free: 7.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00163/0.3624, allocations: 0.9473 MB / 0.5701 GB, free: 6.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.3625, allocations: 66.2 kB / 0.5702 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.3625, allocations: 19.94 kB / 0.5702 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.3629, allocations: 109.6 kB / 0.5703 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.3634, allocations: 143.7 kB / 0.5704 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.367, allocations: 3.352 MB / 0.5737 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.3675, allocations: 39.97 kB / 0.5738 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.3675, allocations: 51.91 kB / 0.5738 GB, free: 2.953 MB / 414.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.000479/0.368, allocations: 358.6 kB / 0.5741 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.3681, allocations: 75.53 kB / 0.5742 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3694, allocations: 0.7914 MB / 0.575 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3694, allocations: 8 kB / 0.575 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3694, allocations: 0 / 0.575 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3694, allocations: 0 / 0.575 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3717, allocations: 1.544 MB / 0.5765 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3717, allocations: 0 / 0.5765 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.3722, allocations: 104.1 kB / 0.5766 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.3722, allocations: 15.92 kB / 0.5766 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.3723, allocations: 24 kB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3723, allocations: 0 / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3723, allocations: 4 kB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3739, allocations: 1.204 MB / 0.5778 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3742, allocations: 111.4 kB / 0.5779 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.3743, allocations: 16 kB / 0.5779 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.3746, allocations: 23.98 kB / 0.578 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3747, allocations: 44.42 kB / 0.578 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/0.3748, allocations: 71.78 kB / 0.5781 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004597/0.3752, allocations: 391.1 kB / 0.5785 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3752, allocations: 0 / 0.5785 GB, free: 14.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007247/0.3759, allocations: 176 kB / 0.5786 GB, free: 13.87 MB / 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.002056/0.378, allocations: 1.775 MB / 0.5804 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3796, allocations: 0.9724 MB / 0.5813 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3796, allocations: 0 / 0.5813 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.3802, allocations: 437.6 kB / 0.5817 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.381, allocations: 153.7 kB / 0.5819 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009452/0.3905, allocations: 6.303 MB / 0.588 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.3912, allocations: 1.009 MB / 0.589 GB, free: 2.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.3917, allocations: 149.8 kB / 0.5891 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.3921, allocations: 279.3 kB / 0.5894 GB, free: 2.332 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3921, allocations: 0 / 0.5894 GB, free: 2.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05539/0.4475, allocations: 14.75 MB / 0.6038 GB, free: 3.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.38, allocations: 14.56 kB / 0.6038 GB, free: 3.754 MB / 446.1 MB " [Timeout remaining time 646] (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 sys.exit(0), Time elapsed: 17.24011576618068] Failed to read output from testmodel.py, exit status != 0: 14.500335294986144 14.53008451 14.183247318 Calling exit ...