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.001538/0.001538, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001432/0.001432, allocations: 172.6 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5712/0.5712, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 12 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4361, allocations: 72.48 MB / 0.5755 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00371/0.4399, allocations: 4.249 MB / 0.5797 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.4419, allocations: 1.262 MB / 0.5809 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.4421, allocations: 9.094 kB / 0.5809 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.4425, allocations: 117.5 kB / 0.581 GB, free: 33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.4429, allocations: 190.3 kB / 0.5812 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4439, allocations: 0.5353 MB / 0.5817 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.4445, allocations: 0.7672 MB / 0.5825 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.4447, allocations: 170 kB / 0.5827 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.445, allocations: 300.8 kB / 0.5829 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.4454, allocations: 384.5 kB / 0.5833 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.4454, allocations: 34.03 kB / 0.5833 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.4457, allocations: 96.92 kB / 0.5834 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.4458, allocations: 142.8 kB / 0.5836 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.4461, allocations: 382.4 kB / 0.5839 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.4468, allocations: 0.8623 MB / 0.5848 GB, free: 31.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4468, allocations: 0 / 0.5848 GB, free: 31.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.4468, allocations: 6.031 kB / 0.5848 GB, free: 31.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4468, allocations: 3.938 kB / 0.5848 GB, free: 31.05 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.003768/0.4506, allocations: 1.45 MB / 0.5862 GB, free: 30.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4506, allocations: 9.875 kB / 0.5862 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.453, allocations: 430.8 kB / 0.5866 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.4536, allocations: 0.499 MB / 0.5871 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.4538, allocations: 206.8 kB / 0.5873 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4539, allocations: 54.78 kB / 0.5874 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4553, allocations: 0.738 MB / 0.5881 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4554, allocations: 0 / 0.5881 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.4554, allocations: 23.77 kB / 0.5881 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.4555, allocations: 16.06 kB / 0.5881 GB, free: 29.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4569, allocations: 0.7279 MB / 0.5888 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.4607, allocations: 2.181 MB / 0.591 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008416/0.4692, allocations: 2.753 MB / 0.5936 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.4703, allocations: 0.5113 MB / 0.5941 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.4704, allocations: 19.94 kB / 0.5942 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.4716, allocations: 0.573 MB / 0.5947 GB, free: 26.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 4.618e-06/0.4716, allocations: 0 / 0.5947 GB, free: 26.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.0151/0.4867, allocations: 4.336 MB / 0.599 GB, free: 25.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4868, allocations: 60.86 kB / 0.599 GB, free: 25.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.4876, allocations: 0.5152 MB / 0.5995 GB, free: 25.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/0.4877, allocations: 43.05 kB / 0.5996 GB, free: 25.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.4879, allocations: 323.7 kB / 0.5999 GB, free: 24.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4881, allocations: 253.3 kB / 0.6001 GB, free: 24.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4883, allocations: 69.84 kB / 0.6002 GB, free: 24.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4884, allocations: 386.2 kB / 0.6005 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/0.4894, allocations: 447.2 kB / 0.601 GB, free: 24.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4905, allocations: 0.5476 MB / 0.6015 GB, free: 23.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009799/0.5003, allocations: 2.802 MB / 0.6042 GB, free: 23.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.5003, allocations: 0 / 0.6042 GB, free: 23.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008448/0.5088, allocations: 2.664 MB / 0.6068 GB, free: 22.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.5088, allocations: 6.594 kB / 0.6068 GB, free: 22.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5089, allocations: 7.016 kB / 0.6069 GB, free: 22.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00464/0.5135, allocations: 1.198 MB / 0.608 GB, free: 22.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.5142, allocations: 110.8 kB / 0.6081 GB, free: 22.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009823/0.5241, allocations: 4.472 MB / 0.6125 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/0.5251, allocations: 126.5 kB / 0.6126 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.5251, allocations: 27.84 kB / 0.6126 GB, free: 19.64 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.0003961/0.5256, allocations: 216 kB / 0.6129 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.5257, allocations: 74.94 kB / 0.6129 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/0.534, allocations: 2.597 MB / 0.6155 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.534, allocations: 8.359 kB / 0.6155 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.534, allocations: 1.188 kB / 0.6155 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.5341, allocations: 7.469 kB / 0.6155 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009433/0.5435, allocations: 3.622 MB / 0.619 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5435, allocations: 0 / 0.619 GB, free: 16.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.544, allocations: 82.77 kB / 0.6191 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004113/0.5481, allocations: 1.185 MB / 0.6202 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.5483, allocations: 19.94 kB / 0.6203 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008091/0.5564, allocations: 4.429 MB / 0.6246 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5564, allocations: 0 / 0.6246 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008263/0.5647, allocations: 3.232 MB / 0.6277 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.5651, allocations: 156 kB / 0.6279 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.5652, allocations: 19.92 kB / 0.6279 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.5658, allocations: 79.94 kB / 0.628 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/0.5662, allocations: 148.4 kB / 0.6281 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.5663, allocations: 20 kB / 0.6282 GB, free: 6.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.5667, allocations: 350.8 kB / 0.6285 GB, free: 6.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5667, allocations: 4 kB / 0.6285 GB, free: 6.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008419/0.5675, allocations: 259.8 kB / 0.6287 GB, free: 6.359 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.0001982/0.5677, allocations: 135.2 kB / 0.6289 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.5716, allocations: 1.753 MB / 0.6306 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5716, allocations: 0 / 0.6306 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002628/0.5743, allocations: 1.236 MB / 0.6318 GB, free: 3.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.5748, allocations: 64.7 kB / 0.6318 GB, free: 3.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5769, allocations: 1.6 MB / 0.6334 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5772, allocations: 0.9275 MB / 0.6343 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.5774, allocations: 60.92 kB / 0.6344 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5775, allocations: 47.44 kB / 0.6344 GB, free: 380 kB / 430.1 MB Notification: Performance of SimCode: time 2.425e-06/0.5775, allocations: 4 kB / 0.6344 GB, free: 376 kB / 430.1 MB Notification: Performance of Templates: time 0.02173/0.5993, allocations: 12.44 MB / 0.6466 GB, free: 3.922 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)