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.001064/0.001064, allocations: 108 kB / 15.61 MB, free: 152 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.317/1.317, allocations: 222.9 MB / 239.2 MB, free: 4.617 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.001376/0.001376, allocations: 195.6 kB / 289.5 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5062/0.5062, allocations: 91.89 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 79.88 kB / 0.5019 GB, free: 7.789 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3411, allocations: 71.26 MB / 0.5715 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004048/0.3452, allocations: 4.377 MB / 0.5757 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3469, allocations: 1.253 MB / 0.577 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.3471, allocations: 5.438 kB / 0.577 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.3475, allocations: 153.2 kB / 0.5771 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.3479, allocations: 227.3 kB / 0.5773 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.349, allocations: 0.5817 MB / 0.5779 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005332/0.3496, allocations: 0.8057 MB / 0.5787 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.3498, allocations: 200.3 kB / 0.5789 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.35, allocations: 331 kB / 0.5792 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.3504, allocations: 421.5 kB / 0.5796 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.3505, allocations: 63 kB / 0.5797 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.3508, allocations: 135.4 kB / 0.5798 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.3509, allocations: 170.2 kB / 0.5799 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.3511, allocations: 389.7 kB / 0.5803 GB, free: 31.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.3517, allocations: 0.9102 MB / 0.5812 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3518, allocations: 2.812 kB / 0.5812 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3518, allocations: 0.9062 kB / 0.5812 GB, free: 31.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3518, allocations: 0 / 0.5812 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.003886/0.3557, allocations: 1.571 MB / 0.5827 GB, free: 30.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3557, allocations: 11.28 kB / 0.5828 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.3582, allocations: 426.7 kB / 0.5832 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.3587, allocations: 0.5012 MB / 0.5836 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.3589, allocations: 202.6 kB / 0.5838 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.359, allocations: 59.19 kB / 0.5839 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3602, allocations: 0.6951 MB / 0.5846 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3603, allocations: 0 / 0.5846 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.3603, allocations: 28.75 kB / 0.5846 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3604, allocations: 17.78 kB / 0.5846 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3617, allocations: 0.675 MB / 0.5853 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.3649, allocations: 2.155 MB / 0.5874 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007386/0.3723, allocations: 2.276 MB / 0.5896 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009927/0.3733, allocations: 483.9 kB / 0.5901 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.3734, allocations: 7.438 kB / 0.5901 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.3744, allocations: 0.5271 MB / 0.5906 GB, free: 26.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.3745, allocations: 0 / 0.5906 GB, free: 26.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=75): time 0.01262/0.3871, allocations: 3.6 MB / 0.5941 GB, free: 25.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3871, allocations: 65.52 kB / 0.5942 GB, free: 25.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006302/0.3878, allocations: 0.5117 MB / 0.5947 GB, free: 25.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.331e-05/0.3879, allocations: 42.33 kB / 0.5947 GB, free: 25.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.3881, allocations: 324.7 kB / 0.595 GB, free: 25.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.3883, allocations: 247.8 kB / 0.5953 GB, free: 24.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.3885, allocations: 129 kB / 0.5954 GB, free: 24.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3886, allocations: 387.3 kB / 0.5957 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008592/0.3895, allocations: 403.9 kB / 0.5961 GB, free: 24.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.3904, allocations: 0.506 MB / 0.5966 GB, free: 24.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00893/0.3994, allocations: 2.533 MB / 0.5991 GB, free: 23.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.3994, allocations: 1.094 kB / 0.5991 GB, free: 23.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007239/0.4067, allocations: 2.235 MB / 0.6013 GB, free: 22.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4067, allocations: 6.344 kB / 0.6013 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4067, allocations: 5.594 kB / 0.6013 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/0.4108, allocations: 1.002 MB / 0.6023 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.4114, allocations: 113.7 kB / 0.6024 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/0.4203, allocations: 4.517 MB / 0.6068 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.4213, allocations: 98.67 kB / 0.6069 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.4213, allocations: 22.62 kB / 0.6069 GB, free: 19.89 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.0003999/0.4217, allocations: 212.3 kB / 0.6071 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.4219, allocations: 77.02 kB / 0.6072 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/0.4292, allocations: 2.181 MB / 0.6093 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.4292, allocations: 11.05 kB / 0.6093 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4292, allocations: 5.188 kB / 0.6093 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.4292, allocations: 3.984 kB / 0.6093 GB, free: 19.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.4378, allocations: 3.193 MB / 0.6125 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4378, allocations: 1.188 kB / 0.6125 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.4382, allocations: 76.23 kB / 0.6125 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004004/0.4423, allocations: 0.9956 MB / 0.6135 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.4424, allocations: 14.05 kB / 0.6135 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008897/0.4513, allocations: 4.47 MB / 0.6179 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4513, allocations: 4 kB / 0.6179 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/0.4588, allocations: 2.763 MB / 0.6206 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.459, allocations: 156 kB / 0.6207 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4592, allocations: 19.94 kB / 0.6207 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.4599, allocations: 51.94 kB / 0.6208 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.4603, allocations: 156.4 kB / 0.6209 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.4603, allocations: 19.98 kB / 0.621 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.4607, allocations: 354.8 kB / 0.6213 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4607, allocations: 0 / 0.6213 GB, free: 10.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008713/0.4616, allocations: 267.8 kB / 0.6216 GB, free: 10.54 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.0001883/0.4618, allocations: 127.1 kB / 0.6217 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.4657, allocations: 1.624 MB / 0.6233 GB, free: 8.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4658, allocations: 4 kB / 0.6233 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.4685, allocations: 1.123 MB / 0.6244 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/0.4692, allocations: 60.88 kB / 0.6244 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4715, allocations: 1.283 MB / 0.6257 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4718, allocations: 0.9237 MB / 0.6266 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.472, allocations: 64.94 kB / 0.6266 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4722, allocations: 47.44 kB / 0.6267 GB, free: 5.117 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4722, allocations: 192 / 0.6267 GB, free: 5.117 MB / 430.1 MB Notification: Performance of Templates: time 0.02071/0.4929, allocations: 14.1 MB / 0.6405 GB, free: 7.012 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)