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.0009973/0.0009972, allocations: 92.16 kB / 16.02 MB, free: 80 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.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.52 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.001168/0.001168, allocations: 172.5 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4926/0.4926, allocations: 91.92 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 12 kB / 0.5054 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 72.46 MB / 0.5762 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003043/0.3401, allocations: 4.254 MB / 0.5803 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3418, allocations: 1.261 MB / 0.5816 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.342, allocations: 7.812 kB / 0.5816 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.3423, allocations: 113.9 kB / 0.5817 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.3427, allocations: 195.6 kB / 0.5819 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009641/0.3437, allocations: 0.5428 MB / 0.5824 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.3442, allocations: 0.7653 MB / 0.5831 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.3445, allocations: 175.2 kB / 0.5833 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.3447, allocations: 298.1 kB / 0.5836 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.345, allocations: 383.5 kB / 0.584 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.3451, allocations: 35.59 kB / 0.584 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.3454, allocations: 97.59 kB / 0.5841 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.3455, allocations: 140.6 kB / 0.5842 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.3457, allocations: 380 kB / 0.5846 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.3462, allocations: 0.6698 MB / 0.5852 GB, free: 31.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3462, allocations: 2.969 kB / 0.5852 GB, free: 31.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3462, allocations: 3.938 kB / 0.5852 GB, free: 31.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3462, allocations: 0.625 kB / 0.5852 GB, free: 31.49 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.003745/0.3499, allocations: 1.449 MB / 0.5867 GB, free: 30.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.35, allocations: 7.812 kB / 0.5867 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.3525, allocations: 433.8 kB / 0.5871 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.353, allocations: 0.506 MB / 0.5876 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.3532, allocations: 200.3 kB / 0.5878 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.3533, allocations: 58.69 kB / 0.5878 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3547, allocations: 0.7368 MB / 0.5885 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3547, allocations: 0 / 0.5885 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.3547, allocations: 21.5 kB / 0.5886 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.3548, allocations: 21.22 kB / 0.5886 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.3562, allocations: 0.7264 MB / 0.5893 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.3597, allocations: 2.183 MB / 0.5914 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/0.3681, allocations: 2.759 MB / 0.5941 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.3691, allocations: 0.5114 MB / 0.5946 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.3692, allocations: 8.781 kB / 0.5946 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.3704, allocations: 0.5777 MB / 0.5952 GB, free: 26.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 3.446e-06/0.3704, allocations: 0 / 0.5952 GB, free: 26.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01482/0.3852, allocations: 4.341 MB / 0.5994 GB, free: 25.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3853, allocations: 60.33 kB / 0.5995 GB, free: 25.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.386, allocations: 0.5156 MB / 0.6 GB, free: 25.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.3861, allocations: 39.77 kB / 0.6 GB, free: 25.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3863, allocations: 320.9 kB / 0.6003 GB, free: 25.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.3866, allocations: 257 kB / 0.6006 GB, free: 25.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3867, allocations: 71.45 kB / 0.6006 GB, free: 25.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3868, allocations: 383.8 kB / 0.601 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009845/0.3878, allocations: 446.4 kB / 0.6014 GB, free: 24.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3888, allocations: 0.5507 MB / 0.602 GB, free: 24.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009699/0.3985, allocations: 2.801 MB / 0.6047 GB, free: 23.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3986, allocations: 1.656 kB / 0.6047 GB, free: 23.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008123/0.4067, allocations: 2.669 MB / 0.6073 GB, free: 22.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4067, allocations: 9.25 kB / 0.6073 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4068, allocations: 3.094 kB / 0.6073 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004432/0.4112, allocations: 1.191 MB / 0.6085 GB, free: 22.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.4118, allocations: 111.7 kB / 0.6086 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.4211, allocations: 4.469 MB / 0.613 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/0.422, allocations: 126.1 kB / 0.6131 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4221, allocations: 26.66 kB / 0.6131 GB, free: 20.06 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.0003926/0.4225, allocations: 216.5 kB / 0.6133 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.4227, allocations: 75.66 kB / 0.6134 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008191/0.4309, allocations: 2.609 MB / 0.6159 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4309, allocations: 7.969 kB / 0.6159 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4309, allocations: 1.062 kB / 0.6159 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.431, allocations: 5.062 kB / 0.6159 GB, free: 19.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008972/0.4399, allocations: 3.62 MB / 0.6195 GB, free: 16.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.44, allocations: 0 / 0.6195 GB, free: 16.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.4404, allocations: 78.06 kB / 0.6196 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/0.4444, allocations: 1.184 MB / 0.6207 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.4445, allocations: 19.94 kB / 0.6207 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00812/0.4526, allocations: 4.429 MB / 0.6251 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4527, allocations: 3.938 kB / 0.6251 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008446/0.4611, allocations: 3.228 MB / 0.6282 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4615, allocations: 160 kB / 0.6284 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4617, allocations: 16 kB / 0.6284 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.4625, allocations: 79.94 kB / 0.6285 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.4629, allocations: 148.4 kB / 0.6286 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.463, allocations: 20 kB / 0.6286 GB, free: 7.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.4634, allocations: 358.8 kB / 0.629 GB, free: 6.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4634, allocations: 3.938 kB / 0.629 GB, free: 6.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00103/0.4644, allocations: 263.8 kB / 0.6292 GB, free: 6.527 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.0002257/0.4647, allocations: 123.1 kB / 0.6293 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.4687, allocations: 1.753 MB / 0.631 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4687, allocations: 0 / 0.631 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/0.4714, allocations: 1.248 MB / 0.6323 GB, free: 3.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.472, allocations: 63 kB / 0.6323 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.4742, allocations: 1.61 MB / 0.6339 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.4745, allocations: 0.9314 MB / 0.6348 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4747, allocations: 59.36 kB / 0.6349 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4747, allocations: 0 / 0.6349 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of Templates: time 0.02213/0.4969, allocations: 17.96 MB / 0.6524 GB, free: 14.58 MB / 462.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)