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.001596/0.001596, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001582/0.001582, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1851/0.1851, allocations: 38.56 MB / 352.5 MB, free: 12.33 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: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [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.00234/0.00234, allocations: 67.89 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009698/0.3588, allocations: 6.929 MB / 0.5492 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.3623, allocations: 1.665 MB / 0.5508 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004125/0.3627, allocations: 35.78 kB / 0.5509 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.3633, allocations: 224.9 kB / 0.5511 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3647, allocations: 0.5882 MB / 0.5516 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.3652, allocations: 212.4 kB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.3666, allocations: 1.265 MB / 0.5531 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.3669, allocations: 209.5 kB / 0.5533 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008901/0.3678, allocations: 0.5748 MB / 0.5538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.3688, allocations: 0.6487 MB / 0.5545 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3689, allocations: 62.84 kB / 0.5545 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.3691, allocations: 63.81 kB / 0.5546 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.3695, allocations: 346.4 kB / 0.5549 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.3699, allocations: 353.2 kB / 0.5553 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3709, allocations: 0.9374 MB / 0.5562 GB, free: 6.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.371, allocations: 0 / 0.5562 GB, free: 6.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.371, allocations: 0 / 0.5562 GB, free: 6.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.371, allocations: 4 kB / 0.5562 GB, free: 6.105 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.002118/0.3731, allocations: 1.18 MB / 0.5573 GB, free: 4.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3731, allocations: 11.98 kB / 0.5573 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.3733, allocations: 96.33 kB / 0.5574 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3747, allocations: 0.6355 MB / 0.5581 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.3747, allocations: 57.22 kB / 0.5581 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3748, allocations: 60 kB / 0.5582 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3761, allocations: 0.8678 MB / 0.559 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3761, allocations: 11.98 kB / 0.559 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.3762, allocations: 24 kB / 0.5591 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.3762, allocations: 29.31 kB / 0.5591 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3773, allocations: 0.672 MB / 0.5597 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.3809, allocations: 2.257 MB / 0.5619 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3819, allocations: 0.6374 MB / 0.5626 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.3826, allocations: 390.4 kB / 0.5629 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3826, allocations: 4.438 kB / 0.5629 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006964/0.3833, allocations: 0.542 MB / 0.5635 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.205e-06/0.3833, allocations: 0 / 0.5635 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.00315/0.3864, allocations: 2.059 MB / 0.5655 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.3866, allocations: 259.7 kB / 0.5657 GB, free: 11.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.3873, allocations: 0.5575 MB / 0.5663 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.3873, allocations: 41.7 kB / 0.5663 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.3877, allocations: 408.4 kB / 0.5667 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.3879, allocations: 222.1 kB / 0.5669 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.3881, allocations: 146.6 kB / 0.5671 GB, free: 10.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.3883, allocations: 382.8 kB / 0.5674 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.3887, allocations: 277.3 kB / 0.5677 GB, free: 9.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.3894, allocations: 0.5011 MB / 0.5682 GB, free: 9.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3905, allocations: 0.7925 MB / 0.5689 GB, free: 8.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3905, allocations: 4 kB / 0.569 GB, free: 8.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001666/0.3921, allocations: 1.002 MB / 0.5699 GB, free: 7.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.3922, allocations: 67.39 kB / 0.57 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3922, allocations: 12.03 kB / 0.57 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.3926, allocations: 109.6 kB / 0.5701 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.3931, allocations: 151.7 kB / 0.5703 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.3964, allocations: 3.287 MB / 0.5735 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3968, allocations: 39.97 kB / 0.5735 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.3969, allocations: 55.91 kB / 0.5736 GB, free: 3.305 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.0004624/0.3974, allocations: 362.6 kB / 0.5739 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.3975, allocations: 75.53 kB / 0.574 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3988, allocations: 0.857 MB / 0.5748 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3988, allocations: 4 kB / 0.5748 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3988, allocations: 4 kB / 0.5748 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3988, allocations: 0 / 0.5748 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.4011, allocations: 1.473 MB / 0.5763 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4011, allocations: 0 / 0.5763 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/0.4016, allocations: 103.9 kB / 0.5764 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4016, allocations: 4 kB / 0.5764 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.4017, allocations: 23.92 kB / 0.5764 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4017, allocations: 8.062 kB / 0.5764 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4017, allocations: 8 kB / 0.5764 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.4035, allocations: 1.328 MB / 0.5777 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4038, allocations: 115.6 kB / 0.5778 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.4038, allocations: 16 kB / 0.5778 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.4042, allocations: 27.97 kB / 0.5778 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4043, allocations: 48.23 kB / 0.5779 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4044, allocations: 63.92 kB / 0.578 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004809/0.4049, allocations: 374.8 kB / 0.5783 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4049, allocations: 0 / 0.5783 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008079/0.4057, allocations: 176 kB / 0.5785 GB, free: 14.07 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.0002616/0.406, allocations: 131.8 kB / 0.5786 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.4079, allocations: 1.088 MB / 0.5797 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4079, allocations: 0 / 0.5797 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.4085, allocations: 0.4888 MB / 0.5801 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.4094, allocations: 154.1 kB / 0.5803 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.412, allocations: 1.622 MB / 0.5819 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4125, allocations: 417.1 kB / 0.5823 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004135/0.4129, allocations: 145.7 kB / 0.5824 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4131, allocations: 59.44 kB / 0.5825 GB, free: 9.785 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4131, allocations: 0 / 0.5825 GB, free: 9.785 MB / 430.1 MB Notification: Performance of Templates: time 0.01766/0.4307, allocations: 8.573 MB / 0.5908 GB, free: 1.348 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.481235006824136] Failed to read output from testmodel.py, exit status != 0: 0.4406442493200302 0.455872855 0.08169965900000001 Calling exit ...