Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=70000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 239.5 MB, free: 4.754 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 184.5 kB / 289.8 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5007/0.5007, allocations: 91.9 MB / 431.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 79.86 kB / 0.5019 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 71.27 MB / 0.5715 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004242/0.2993, allocations: 4.651 MB / 0.576 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3011, allocations: 1.281 MB / 0.5772 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.3015, allocations: 9.188 kB / 0.5773 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3018, allocations: 113.2 kB / 0.5774 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.3023, allocations: 187 kB / 0.5775 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3033, allocations: 0.5601 MB / 0.5781 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.304, allocations: 0.7673 MB / 0.5788 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.3042, allocations: 175.5 kB / 0.579 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.3045, allocations: 312.7 kB / 0.5793 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.3048, allocations: 405.8 kB / 0.5797 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.3049, allocations: 42.25 kB / 0.5797 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.3052, allocations: 102.8 kB / 0.5798 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.3053, allocations: 148.6 kB / 0.58 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.3055, allocations: 371.6 kB / 0.5803 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.306, allocations: 0.6897 MB / 0.581 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.306, allocations: 0 / 0.581 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.306, allocations: 3.5 kB / 0.581 GB, free: 31.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.306, allocations: 0 / 0.581 GB, free: 31.36 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003957/0.31, allocations: 1.565 MB / 0.5825 GB, free: 30.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.31, allocations: 8.375 kB / 0.5825 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.3125, allocations: 428.4 kB / 0.5829 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3131, allocations: 0.4982 MB / 0.5834 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3133, allocations: 204.5 kB / 0.5836 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.3134, allocations: 52.72 kB / 0.5837 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3146, allocations: 0.6938 MB / 0.5844 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3146, allocations: 0 / 0.5844 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.3147, allocations: 28.31 kB / 0.5844 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3147, allocations: 16.06 kB / 0.5844 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.316, allocations: 0.6821 MB / 0.5851 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.3193, allocations: 2.162 MB / 0.5872 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007583/0.3269, allocations: 2.262 MB / 0.5894 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.328, allocations: 482.1 kB / 0.5898 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/0.3281, allocations: 16.66 kB / 0.5899 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.3292, allocations: 0.5349 MB / 0.5904 GB, free: 26.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.035e-06/0.3292, allocations: 0 / 0.5904 GB, free: 26.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.013/0.3422, allocations: 3.594 MB / 0.5939 GB, free: 25.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.3423, allocations: 60.72 kB / 0.594 GB, free: 25.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.3429, allocations: 0.516 MB / 0.5945 GB, free: 25.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.343, allocations: 42.3 kB / 0.5945 GB, free: 25.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3432, allocations: 322.7 kB / 0.5948 GB, free: 25.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.3434, allocations: 252.8 kB / 0.595 GB, free: 25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3436, allocations: 128.7 kB / 0.5952 GB, free: 24.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.3437, allocations: 383.1 kB / 0.5955 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.3446, allocations: 404.3 kB / 0.5959 GB, free: 24.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/0.3455, allocations: 0.5096 MB / 0.5964 GB, free: 24.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008952/0.3544, allocations: 2.512 MB / 0.5989 GB, free: 23.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.3545, allocations: 8.781 kB / 0.5989 GB, free: 23.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007097/0.3616, allocations: 2.238 MB / 0.6011 GB, free: 22.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3616, allocations: 6.219 kB / 0.6011 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3617, allocations: 6.438 kB / 0.6011 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/0.3656, allocations: 1.002 MB / 0.6021 GB, free: 22.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.3661, allocations: 108.3 kB / 0.6022 GB, free: 22.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/0.3744, allocations: 4.137 MB / 0.6062 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.3753, allocations: 98.44 kB / 0.6063 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.3753, allocations: 27.27 kB / 0.6063 GB, free: 20.14 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.3757, allocations: 210.6 kB / 0.6065 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3758, allocations: 80.09 kB / 0.6066 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007055/0.3829, allocations: 2.176 MB / 0.6087 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3829, allocations: 8.562 kB / 0.6087 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3829, allocations: 0 / 0.6087 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.3829, allocations: 4.312 kB / 0.6087 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008173/0.3911, allocations: 3.193 MB / 0.6119 GB, free: 18.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3911, allocations: 2.016 kB / 0.6119 GB, free: 18.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.3916, allocations: 75.31 kB / 0.6119 GB, free: 18.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.3955, allocations: 0.9933 MB / 0.6129 GB, free: 17.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.3957, allocations: 20.42 kB / 0.6129 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00817/0.4039, allocations: 4.103 MB / 0.6169 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4039, allocations: 0 / 0.6169 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00783/0.4117, allocations: 2.764 MB / 0.6196 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.412, allocations: 152.1 kB / 0.6198 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.4121, allocations: 12 kB / 0.6198 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.4128, allocations: 59.94 kB / 0.6198 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/0.4132, allocations: 148.4 kB / 0.62 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.4132, allocations: 19.98 kB / 0.62 GB, free: 12.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.4136, allocations: 354.8 kB / 0.6203 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4136, allocations: 3.938 kB / 0.6203 GB, free: 11.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007825/0.4144, allocations: 263.8 kB / 0.6206 GB, free: 11.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001736/0.4146, allocations: 139.5 kB / 0.6207 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.4182, allocations: 1.577 MB / 0.6223 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4182, allocations: 0.5 kB / 0.6223 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.4209, allocations: 1.107 MB / 0.6233 GB, free: 8.773 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.4215, allocations: 62.98 kB / 0.6234 GB, free: 8.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.4238, allocations: 1.573 MB / 0.6249 GB, free: 7.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.4241, allocations: 0.9353 MB / 0.6259 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4243, allocations: 47.42 kB / 0.6259 GB, free: 6.105 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4243, allocations: 0 / 0.6259 GB, free: 6.105 MB / 430.1 MB Notification: Performance of Templates: time 0.0178/0.4421, allocations: 18.03 MB / 0.6435 GB, free: 4.043 MB / 446.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)