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.001768/0.001768, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002372/0.002372, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1986/0.1986, allocations: 38.53 MB / 353.2 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: 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.002128/0.002128, allocations: 71.88 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 62.47 MB / 0.5432 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01059/0.3477, allocations: 7.492 MB / 0.5505 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.3511, allocations: 1.77 MB / 0.5523 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.3517, allocations: 44.12 kB / 0.5523 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008762/0.3526, allocations: 233.9 kB / 0.5525 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.3543, allocations: 0.5825 MB / 0.5531 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.3549, allocations: 228.9 kB / 0.5533 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.3569, allocations: 1.257 MB / 0.5546 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.3574, allocations: 222.8 kB / 0.5548 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3586, allocations: 0.5696 MB / 0.5553 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.36, allocations: 0.6734 MB / 0.556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.3602, allocations: 66.84 kB / 0.556 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.3606, allocations: 63.19 kB / 0.5561 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.3611, allocations: 338.5 kB / 0.5564 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008946/0.362, allocations: 441.2 kB / 0.5568 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3634, allocations: 0.9205 MB / 0.5577 GB, free: 5.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3634, allocations: 3.938 kB / 0.5577 GB, free: 5.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3634, allocations: 0 / 0.5577 GB, free: 5.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.3634, allocations: 0 / 0.5577 GB, free: 5.68 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.002346/0.3657, allocations: 1.175 MB / 0.5589 GB, free: 4.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3658, allocations: 15.98 kB / 0.5589 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.366, allocations: 96.33 kB / 0.559 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.3674, allocations: 0.6433 MB / 0.5596 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.3674, allocations: 49.25 kB / 0.5597 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3675, allocations: 60 kB / 0.5597 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3688, allocations: 0.8099 MB / 0.5605 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3688, allocations: 0 / 0.5605 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.3689, allocations: 28 kB / 0.5606 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.3689, allocations: 37.28 kB / 0.5606 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.37, allocations: 0.6256 MB / 0.5612 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.3738, allocations: 2.583 MB / 0.5637 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.3748, allocations: 0.5581 MB / 0.5643 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.3754, allocations: 335 kB / 0.5646 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3754, allocations: 12.42 kB / 0.5646 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006174/0.376, allocations: 479.7 kB / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.535e-06/0.376, allocations: 0 / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003047/0.3791, allocations: 1.928 MB / 0.5669 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.3792, allocations: 255.8 kB / 0.5672 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.3799, allocations: 0.5703 MB / 0.5677 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.38, allocations: 37.83 kB / 0.5678 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.3803, allocations: 412.4 kB / 0.5682 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3805, allocations: 214.2 kB / 0.5684 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3807, allocations: 150.6 kB / 0.5685 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3809, allocations: 386.8 kB / 0.5689 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.3813, allocations: 217.9 kB / 0.5691 GB, free: 9.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.3818, allocations: 461.8 kB / 0.5695 GB, free: 9.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.3828, allocations: 0.7964 MB / 0.5703 GB, free: 8.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3828, allocations: 0 / 0.5703 GB, free: 8.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001636/0.3845, allocations: 0.9429 MB / 0.5712 GB, free: 7.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.3845, allocations: 67.95 kB / 0.5713 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.3845, allocations: 4 kB / 0.5713 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.385, allocations: 117.6 kB / 0.5714 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.3855, allocations: 147.7 kB / 0.5716 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.3888, allocations: 3.348 MB / 0.5748 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.3893, allocations: 44.03 kB / 0.5749 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.3894, allocations: 51.91 kB / 0.5749 GB, free: 3.148 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.0004876/0.3898, allocations: 358.6 kB / 0.5753 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.39, allocations: 75.53 kB / 0.5753 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3912, allocations: 0.7952 MB / 0.5761 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3912, allocations: 4 kB / 0.5761 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3912, allocations: 4 kB / 0.5761 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3912, allocations: 0 / 0.5761 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.3937, allocations: 1.536 MB / 0.5776 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3937, allocations: 8.094 kB / 0.5776 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.3942, allocations: 103.8 kB / 0.5777 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.3942, allocations: 7.938 kB / 0.5777 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.3943, allocations: 23.98 kB / 0.5777 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3943, allocations: 4 kB / 0.5778 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3943, allocations: 0 / 0.5778 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.396, allocations: 1.204 MB / 0.5789 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.3963, allocations: 111.5 kB / 0.579 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3964, allocations: 23.88 kB / 0.5791 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.3967, allocations: 19.98 kB / 0.5791 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.3969, allocations: 48.42 kB / 0.5791 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.397, allocations: 63.92 kB / 0.5792 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.3975, allocations: 383.1 kB / 0.5795 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3975, allocations: 3.938 kB / 0.5796 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007501/0.3983, allocations: 180 kB / 0.5797 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.0001636/0.3984, allocations: 123.1 kB / 0.5798 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.4, allocations: 0.9763 MB / 0.5808 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4, allocations: 4.125 kB / 0.5808 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.4005, allocations: 429.1 kB / 0.5812 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.4014, allocations: 173 kB / 0.5814 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.4042, allocations: 1.629 MB / 0.583 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.4049, allocations: 1.013 MB / 0.584 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.4051, allocations: 59.44 kB / 0.584 GB, free: 9.527 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4051, allocations: 0 / 0.584 GB, free: 9.527 MB / 430.1 MB Notification: Performance of Templates: time 0.0197/0.4248, allocations: 12.13 MB / 0.5959 GB, free: 13.41 MB / 446.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: 8.750048947986215] Failed to read output from testmodel.py, exit status != 0: 0.43418845697306097 0.449132021 0.082471417 Calling exit ...