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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.5 MB / 229.6 MB, free: 3.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 92.12 kB / 280.5 MB, free: 1.125 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5217/0.5217, allocations: 78.93 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.271e-05, allocations: 4 kB / 485.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3726, allocations: 69.53 MB / 0.5424 GB, free: 21.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.506, allocations: 93.23 MB / 0.6335 GB, free: 10.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5063, allocations: 79.95 kB / 0.6336 GB, free: 10.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03906/0.5454, allocations: 14.04 MB / 0.6473 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5454, allocations: 0 / 0.6473 GB, free: 12.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.631e-05/0.5455, allocations: 16.16 kB / 0.6473 GB, free: 12.29 MB / 474.7 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.00339/0.5489, allocations: 1.141 MB / 0.6484 GB, free: 11.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.549, allocations: 8.031 kB / 0.6484 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.5508, allocations: 298.7 kB / 0.6487 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008385/0.5516, allocations: 438.7 kB / 0.6491 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.5519, allocations: 189.8 kB / 0.6493 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5521, allocations: 39.98 kB / 0.6493 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/0.5532, allocations: 0.5341 MB / 0.6498 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5542, allocations: 0.5271 MB / 0.6504 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5543, allocations: 3.938 kB / 0.6504 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.5543, allocations: 0 / 0.6504 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5544, allocations: 20 kB / 0.6504 GB, free: 8.984 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.5585, allocations: 2.088 MB / 0.6524 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007883/0.5664, allocations: 2.539 MB / 0.6549 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.5672, allocations: 368.4 kB / 0.6553 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.5673, allocations: 8.781 kB / 0.6553 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.5681, allocations: 420.5 kB / 0.6557 GB, free: 3.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=75): time 4.088e-06/0.5682, allocations: 4 kB / 0.6557 GB, free: 3.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.006543/0.5747, allocations: 2.07 MB / 0.6577 GB, free: 1.285 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.5748, allocations: 60.19 kB / 0.6577 GB, free: 1.215 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.5755, allocations: 418.5 kB / 0.6581 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5756, allocations: 29.7 kB / 0.6582 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.5759, allocations: 324.6 kB / 0.6585 GB, free: 452 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.5762, allocations: 240.4 kB / 0.6587 GB, free: 208 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.5762, allocations: 0 / 0.6587 GB, free: 208 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.5764, allocations: 382.8 kB / 0.6591 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.577, allocations: 297.6 kB / 0.6594 GB, free: 15.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.5775, allocations: 395.5 kB / 0.6597 GB, free: 15.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.5781, allocations: 326 kB / 0.66 GB, free: 14.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.5781, allocations: 8 kB / 0.6601 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006445/0.5845, allocations: 2.18 MB / 0.6622 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5846, allocations: 13.66 kB / 0.6622 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.5846, allocations: 0 / 0.6622 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.5884, allocations: 0.952 MB / 0.6631 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.5891, allocations: 111.8 kB / 0.6632 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/0.5959, allocations: 3.589 MB / 0.6667 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/0.5968, allocations: 103.4 kB / 0.6668 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.597, allocations: 27.94 kB / 0.6669 GB, free: 7.68 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y2l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean ultc.y3l0:DISCRETE(fixed = false ) "Loop breaker for when-clauses" type: Boolean load.xq:VARIABLE(start = 0.0 protected = true ) type: Real load.xp:VARIABLE(start = 0.0 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 ($whenCondition1,$whenCondition2,$PRE.ultc.y2l0,$PRE.ultc.y3l0,ultc.zeroCrossing.y,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.disable,$PRE.ultc.zeroCrossing.u_pos,ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.enable,ultc.zeroCrossing.enable,$PRE.ultc.m,ultc.m,ultc.y2l0,ultc.y3l0) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003254/0.5973, allocations: 137.1 kB / 0.667 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.5975, allocations: 71.16 kB / 0.6671 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/0.604, allocations: 2.142 MB / 0.6692 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.6041, allocations: 12 kB / 0.6692 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6041, allocations: 4 kB / 0.6692 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6041, allocations: 7.984 kB / 0.6692 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00805/0.6122, allocations: 3.076 MB / 0.6722 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6122, allocations: 0 / 0.6722 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.6127, allocations: 79.89 kB / 0.6723 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00351/0.6162, allocations: 0.9431 MB / 0.6732 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6164, allocations: 4 kB / 0.6732 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3431/0.9595, allocations: 3.569 MB / 0.6767 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.9595, allocations: 3.938 kB / 0.6767 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/0.9673, allocations: 2.628 MB / 0.6792 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.9676, allocations: 155.8 kB / 0.6794 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.9678, allocations: 3.281 kB / 0.6794 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.9684, allocations: 66 kB / 0.6795 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.969, allocations: 153.7 kB / 0.6796 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.9691, allocations: 22.3 kB / 0.6796 GB, free: 112.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004372/0.9695, allocations: 319.2 kB / 0.6799 GB, free: 112.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9695, allocations: 0 / 0.6799 GB, free: 112.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009859/0.9705, allocations: 245.8 kB / 0.6802 GB, free: 112.6 MB / 490.7 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) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.9708, allocations: 132 kB / 0.6803 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.9743, allocations: 1.425 MB / 0.6817 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9744, allocations: 4.438 kB / 0.6817 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.977, allocations: 1.058 MB / 0.6827 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.9776, allocations: 40.33 kB / 0.6828 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.9793, allocations: 0.8881 MB / 0.6836 GB, free: 111.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.9797, allocations: 0.9424 MB / 0.6845 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.98, allocations: 51.88 kB / 0.6846 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.9801, allocations: 42.53 kB / 0.6846 GB, free: 110.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9801, allocations: 0 / 0.6846 GB, free: 110.8 MB / 490.7 MB Notification: Performance of Templates: time 0.01767/0.9978, allocations: 11.45 MB / 0.6958 GB, free: 109.6 MB / 490.7 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)