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.001374/0.001374, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001781/0.001781, allocations: 210 kB / 24.48 MB, free: 3.938 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.18/0.18, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.002173/0.002173, allocations: 67.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3191, allocations: 62.47 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008898/0.328, allocations: 6.934 MB / 0.5499 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.3315, allocations: 1.66 MB / 0.5516 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005736/0.3321, allocations: 36.5 kB / 0.5516 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3332, allocations: 221.1 kB / 0.5518 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.335, allocations: 0.5868 MB / 0.5524 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3355, allocations: 216.4 kB / 0.5526 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.3372, allocations: 1.257 MB / 0.5538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.3376, allocations: 217.8 kB / 0.554 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3387, allocations: 0.5744 MB / 0.5546 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.3398, allocations: 0.6456 MB / 0.5552 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.3399, allocations: 62.91 kB / 0.5553 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.3401, allocations: 67.66 kB / 0.5553 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.3405, allocations: 345.6 kB / 0.5557 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.3409, allocations: 354.9 kB / 0.556 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3421, allocations: 0.9345 MB / 0.5569 GB, free: 6.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3421, allocations: 0 / 0.5569 GB, free: 6.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3421, allocations: 0 / 0.5569 GB, free: 6.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3421, allocations: 0 / 0.5569 GB, free: 6.117 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.002108/0.3442, allocations: 1.176 MB / 0.5581 GB, free: 4.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3442, allocations: 11.98 kB / 0.5581 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3444, allocations: 100.3 kB / 0.5582 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3457, allocations: 0.6356 MB / 0.5588 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.3458, allocations: 57.17 kB / 0.5588 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3459, allocations: 60 kB / 0.5589 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3472, allocations: 0.864 MB / 0.5597 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3472, allocations: 11.92 kB / 0.5598 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.3473, allocations: 35.92 kB / 0.5598 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/0.3473, allocations: 29.31 kB / 0.5598 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.3483, allocations: 0.6759 MB / 0.5605 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.3521, allocations: 2.264 MB / 0.5627 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3531, allocations: 0.6179 MB / 0.5633 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.354, allocations: 394.4 kB / 0.5637 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3541, allocations: 8.438 kB / 0.5637 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/0.3548, allocations: 0.5342 MB / 0.5642 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/0.3548, allocations: 0 / 0.5642 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003212/0.358, allocations: 2.063 MB / 0.5662 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.3581, allocations: 255.8 kB / 0.5665 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.3588, allocations: 0.5575 MB / 0.567 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.3589, allocations: 37.7 kB / 0.567 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.3592, allocations: 420.5 kB / 0.5674 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3594, allocations: 222.2 kB / 0.5677 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3596, allocations: 138.6 kB / 0.5678 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3598, allocations: 386.8 kB / 0.5682 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3602, allocations: 277.3 kB / 0.5684 GB, free: 9.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.3608, allocations: 0.5011 MB / 0.5689 GB, free: 9.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.3618, allocations: 0.7924 MB / 0.5697 GB, free: 8.297 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3618, allocations: 0 / 0.5697 GB, free: 8.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001682/0.3635, allocations: 1.001 MB / 0.5707 GB, free: 7.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.3635, allocations: 71.33 kB / 0.5707 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3635, allocations: 8 kB / 0.5707 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.364, allocations: 110 kB / 0.5708 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.3646, allocations: 155.7 kB / 0.571 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.3679, allocations: 3.287 MB / 0.5742 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.3684, allocations: 35.97 kB / 0.5742 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.3685, allocations: 59.91 kB / 0.5743 GB, free: 3.312 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.0004916/0.369, allocations: 354.6 kB / 0.5746 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3691, allocations: 75.53 kB / 0.5747 GB, free: 2.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3704, allocations: 0.8532 MB / 0.5755 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3704, allocations: 8 kB / 0.5755 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.3704, allocations: 0 / 0.5755 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3705, allocations: 0 / 0.5755 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.3728, allocations: 1.469 MB / 0.577 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3728, allocations: 0 / 0.577 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.3733, allocations: 112 kB / 0.5771 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3733, allocations: 0 / 0.5771 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.3733, allocations: 23.98 kB / 0.5771 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.3733, allocations: 7.938 kB / 0.5771 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3733, allocations: 3.938 kB / 0.5771 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3751, allocations: 1.34 MB / 0.5784 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.3754, allocations: 107.5 kB / 0.5785 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.3755, allocations: 16 kB / 0.5785 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.3758, allocations: 31.97 kB / 0.5786 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.376, allocations: 52.3 kB / 0.5786 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.376, allocations: 59.94 kB / 0.5787 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004722/0.3765, allocations: 374.8 kB / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 0.579 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007773/0.3773, allocations: 184 kB / 0.5792 GB, free: 14.08 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.0001846/0.3775, allocations: 124 kB / 0.5793 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.3791, allocations: 1.092 MB / 0.5804 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3791, allocations: 0 / 0.5804 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.3797, allocations: 0.4893 MB / 0.5809 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.3805, allocations: 162.5 kB / 0.581 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3834, allocations: 1.686 MB / 0.5827 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.3839, allocations: 417.1 kB / 0.5831 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3841, allocations: 55.44 kB / 0.5831 GB, free: 9.863 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3841, allocations: 4 kB / 0.5831 GB, free: 9.859 MB / 430.1 MB Notification: Performance of Templates: time 0.02023/0.4043, allocations: 12.4 MB / 0.5952 GB, free: 13.48 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: 9.529908766038716] Failed to read output from testmodel.py, exit status != 0: 0.41430408600717783 0.42924124999999996 0.083903609 Calling exit ...