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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 195.1 kB / 301.4 MB, free: 9.094 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5266/0.5266, allocations: 94.15 MB / 450.7 MB, free: 9.609 MB / 318.1 MB " [Timeout remaining time 179] 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=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 83.86 kB / 0.6024 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1572, allocations: 75.54 MB / 0.6762 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00569/0.1629, allocations: 4.418 MB / 0.6805 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1657, allocations: 1.255 MB / 0.6817 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.1659, allocations: 12 kB / 0.6817 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1663, allocations: 142.8 kB / 0.6819 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.1669, allocations: 258 kB / 0.6821 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1682, allocations: 0.5894 MB / 0.6827 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008552/0.1691, allocations: 0.8096 MB / 0.6835 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.1693, allocations: 137.8 kB / 0.6836 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1697, allocations: 350.5 kB / 0.6839 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.1702, allocations: 410 kB / 0.6843 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.1703, allocations: 64 kB / 0.6844 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1706, allocations: 139.9 kB / 0.6845 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1707, allocations: 159.3 kB / 0.6847 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1711, allocations: 393.7 kB / 0.6851 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1721, allocations: 0.9218 MB / 0.686 GB, free: 9.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1721, allocations: 0 / 0.686 GB, free: 9.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1721, allocations: 0 / 0.686 GB, free: 9.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1721, allocations: 3.938 kB / 0.686 GB, free: 9.258 MB / 494.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.004346/0.1765, allocations: 1.594 MB / 0.6875 GB, free: 7.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1765, allocations: 8.031 kB / 0.6875 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.179, allocations: 435.5 kB / 0.6879 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.1797, allocations: 0.4987 MB / 0.6884 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.18, allocations: 201.7 kB / 0.6886 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1801, allocations: 52 kB / 0.6887 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1815, allocations: 0.6975 MB / 0.6894 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1816, allocations: 4 kB / 0.6894 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1816, allocations: 23.98 kB / 0.6894 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1816, allocations: 19.94 kB / 0.6894 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1831, allocations: 0.6766 MB / 0.6901 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.1869, allocations: 2.156 MB / 0.6922 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007629/0.1945, allocations: 2.196 MB / 0.6943 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3395/0.534, allocations: 433.1 kB / 0.6947 GB, free: 24.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.5341, allocations: 9.125 kB / 0.6947 GB, free: 24.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.5355, allocations: 0.5291 MB / 0.6953 GB, free: 24.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=75): time 3.106e-06/0.5355, allocations: 0 / 0.6953 GB, free: 24.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=75): time 0.013/0.5485, allocations: 3.58 MB / 0.6987 GB, free: 23.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.5485, allocations: 59.94 kB / 0.6988 GB, free: 23.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006954/0.5492, allocations: 0.5179 MB / 0.6993 GB, free: 23.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.5493, allocations: 43.41 kB / 0.6994 GB, free: 23.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.5495, allocations: 325.5 kB / 0.6997 GB, free: 23.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.5497, allocations: 269 kB / 0.6999 GB, free: 23.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.5499, allocations: 127.8 kB / 0.7 GB, free: 23.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5501, allocations: 386.5 kB / 0.7004 GB, free: 23.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.5509, allocations: 404.8 kB / 0.7008 GB, free: 23.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.5518, allocations: 0.502 MB / 0.7013 GB, free: 22.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008775/0.5606, allocations: 2.521 MB / 0.7037 GB, free: 22.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.5606, allocations: 3.938 kB / 0.7038 GB, free: 22.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007555/0.5682, allocations: 2.231 MB / 0.7059 GB, free: 22.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5682, allocations: 5.812 kB / 0.7059 GB, free: 22.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.5682, allocations: 4.688 kB / 0.7059 GB, free: 22.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/0.5724, allocations: 1.005 MB / 0.7069 GB, free: 21.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.573, allocations: 110.4 kB / 0.707 GB, free: 21.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009844/0.5829, allocations: 4.515 MB / 0.7114 GB, free: 19.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.5838, allocations: 105.6 kB / 0.7115 GB, free: 19.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.5839, allocations: 23.2 kB / 0.7116 GB, free: 19.21 MB / 494.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.0004216/0.5843, allocations: 213.9 kB / 0.7118 GB, free: 19.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.5845, allocations: 75.88 kB / 0.7118 GB, free: 19.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/0.5923, allocations: 2.155 MB / 0.7139 GB, free: 18.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.5923, allocations: 7.406 kB / 0.7139 GB, free: 18.44 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5923, allocations: 5.281 kB / 0.714 GB, free: 18.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.5923, allocations: 9.266 kB / 0.714 GB, free: 18.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.6005, allocations: 3.179 MB / 0.7171 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6006, allocations: 1.062 kB / 0.7171 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.601, allocations: 84.98 kB / 0.7171 GB, free: 17.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00368/0.6047, allocations: 0.9926 MB / 0.7181 GB, free: 16.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.6047, allocations: 14.66 kB / 0.7181 GB, free: 16.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008359/0.6131, allocations: 4.465 MB / 0.7225 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.6131, allocations: 1.375 kB / 0.7225 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007766/0.6209, allocations: 2.75 MB / 0.7252 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.6211, allocations: 157.2 kB / 0.7253 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.6212, allocations: 15.5 kB / 0.7253 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.6218, allocations: 63.69 kB / 0.7254 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/0.6222, allocations: 157.4 kB / 0.7256 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.6223, allocations: 20.5 kB / 0.7256 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004134/0.6227, allocations: 354.7 kB / 0.7259 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6227, allocations: 0 / 0.7259 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001039/0.6238, allocations: 274.6 kB / 0.7262 GB, free: 11.62 MB / 494.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.000236/0.624, allocations: 119.9 kB / 0.7263 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.628, allocations: 1.537 MB / 0.7278 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.628, allocations: 1.406 kB / 0.7278 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.6306, allocations: 1.091 MB / 0.7289 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.6312, allocations: 60.47 kB / 0.7289 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.6337, allocations: 1.301 MB / 0.7302 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6342, allocations: 0.9272 MB / 0.7311 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.6344, allocations: 65.64 kB / 0.7311 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.6346, allocations: 47.62 kB / 0.7312 GB, free: 8.176 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6346, allocations: 0 / 0.7312 GB, free: 8.176 MB / 494.1 MB Notification: Performance of Templates: time 0.02151/0.6561, allocations: 14.85 MB / 0.7457 GB, free: 12.3 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.434634407050908]