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.00134/0.00134, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001486/0.001486, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 8 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.1846/0.1846, allocations: 38.52 MB / 353.2 MB, free: 12.55 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="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.002789/0.002789, allocations: 59.91 kB / 493.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3476, allocations: 62.46 MB / 0.5428 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009846/0.3575, allocations: 7.503 MB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3609, allocations: 1.762 MB / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004738/0.3614, allocations: 39.88 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.362, allocations: 241.1 kB / 0.5521 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.3634, allocations: 0.5827 MB / 0.5527 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.3639, allocations: 224.5 kB / 0.5529 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.3655, allocations: 1.259 MB / 0.5541 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.3659, allocations: 226.2 kB / 0.5543 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.3672, allocations: 0.566 MB / 0.5549 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.3684, allocations: 0.6805 MB / 0.5555 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3685, allocations: 62.12 kB / 0.5556 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3686, allocations: 64.03 kB / 0.5556 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.369, allocations: 341.8 kB / 0.556 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005228/0.3695, allocations: 434 kB / 0.5564 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3707, allocations: 0.9227 MB / 0.5573 GB, free: 5.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3707, allocations: 0 / 0.5573 GB, free: 5.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3707, allocations: 4 kB / 0.5573 GB, free: 5.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3707, allocations: 0.9375 kB / 0.5573 GB, free: 5.578 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.002207/0.3729, allocations: 1.178 MB / 0.5584 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.373, allocations: 15.98 kB / 0.5585 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.962e-05/0.373, allocations: 21.44 kB / 0.5585 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.3731, allocations: 110.7 kB / 0.5586 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3733, allocations: 96.33 kB / 0.5587 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.3747, allocations: 0.6391 MB / 0.5593 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.3748, allocations: 53.3 kB / 0.5594 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3749, allocations: 56 kB / 0.5594 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3763, allocations: 0.8177 MB / 0.5602 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3763, allocations: 3.938 kB / 0.5602 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.3763, allocations: 32 kB / 0.5602 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.3764, allocations: 29.31 kB / 0.5603 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3774, allocations: 0.6179 MB / 0.5609 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.3814, allocations: 2.582 MB / 0.5634 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3825, allocations: 0.562 MB / 0.5639 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.3832, allocations: 331 kB / 0.5643 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.3832, allocations: 8.422 kB / 0.5643 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007485/0.384, allocations: 487.7 kB / 0.5647 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.635e-06/0.384, allocations: 0 / 0.5647 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003265/0.3873, allocations: 1.92 MB / 0.5666 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.3875, allocations: 251.8 kB / 0.5668 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.3882, allocations: 0.5665 MB / 0.5674 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3882, allocations: 37.7 kB / 0.5674 GB, free: 10.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.3886, allocations: 416.5 kB / 0.5678 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.3888, allocations: 218.2 kB / 0.568 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.389, allocations: 146.6 kB / 0.5682 GB, free: 10 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3893, allocations: 386.8 kB / 0.5685 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3896, allocations: 229.8 kB / 0.5688 GB, free: 9.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.3902, allocations: 457.8 kB / 0.5692 GB, free: 8.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3912, allocations: 0.7924 MB / 0.57 GB, free: 7.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3912, allocations: 4 kB / 0.57 GB, free: 7.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001697/0.3929, allocations: 0.9429 MB / 0.5709 GB, free: 6.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.393, allocations: 66.84 kB / 0.571 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.393, allocations: 11.94 kB / 0.571 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/0.3934, allocations: 117.8 kB / 0.5711 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.3939, allocations: 143.7 kB / 0.5712 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.3983, allocations: 3.348 MB / 0.5745 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/0.3991, allocations: 43.98 kB / 0.5745 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3992, allocations: 51.95 kB / 0.5746 GB, free: 2.941 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.0006407/0.3999, allocations: 350.6 kB / 0.5749 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.4, allocations: 75.53 kB / 0.575 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.4013, allocations: 0.7991 MB / 0.5758 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.4014, allocations: 8 kB / 0.5758 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4014, allocations: 0 / 0.5758 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4014, allocations: 7.922 kB / 0.5758 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.4039, allocations: 1.532 MB / 0.5773 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4039, allocations: 4.078 kB / 0.5773 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.4044, allocations: 107.8 kB / 0.5774 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4044, allocations: 4 kB / 0.5774 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.4045, allocations: 23.98 kB / 0.5774 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.4045, allocations: 4 kB / 0.5774 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4045, allocations: 0 / 0.5774 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.4063, allocations: 1.208 MB / 0.5786 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.4066, allocations: 111.4 kB / 0.5787 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.4067, allocations: 16 kB / 0.5787 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.4071, allocations: 27.97 kB / 0.5787 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.4073, allocations: 36.44 kB / 0.5788 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.4074, allocations: 71.86 kB / 0.5789 GB, free: 14.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005099/0.4079, allocations: 391 kB / 0.5792 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4079, allocations: 0 / 0.5792 GB, free: 14.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.4087, allocations: 176 kB / 0.5794 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.002113/0.4108, allocations: 1.772 MB / 0.5811 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.4125, allocations: 0.9792 MB / 0.5821 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4125, allocations: 1.312 kB / 0.5821 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.4131, allocations: 429.1 kB / 0.5825 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.0009722/0.4141, allocations: 158.3 kB / 0.5826 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009578/0.4236, allocations: 6.315 MB / 0.5888 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.4244, allocations: 1.012 MB / 0.5898 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000492/0.4249, allocations: 149.8 kB / 0.5899 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.4253, allocations: 275.3 kB / 0.5902 GB, free: 2.316 MB / 430.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4253, allocations: 0 / 0.5902 GB, free: 2.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.4733, allocations: 14.78 MB / 0.6046 GB, free: 3.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.58, allocations: 11.08 kB / 0.6047 GB, free: 3.719 MB / 446.1 MB " [Timeout remaining time 645] (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.633192910987418] Failed to read output from testmodel.py, exit status != 0: 14.758246259996668 14.773679419 14.399664537 Calling exit ...