Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.911/0.911, allocations: 177.2 MB / 200 MB, free: 5.84 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 168.6 kB / 256.6 MB, free: 13.14 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2923/0.2923, allocations: 80.25 MB / 393.4 MB, free: 2.188 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 489.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.817e-05, allocations: 6.125 kB / 489.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003935/0.003953, allocations: 4.253 MB / 494 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.005985, allocations: 1.252 MB / 495.3 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.006239, allocations: 4 kB / 495.3 MB, free: 6.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.006564, allocations: 156.3 kB / 495.4 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.007044, allocations: 282.5 kB / 495.7 MB, free: 5.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000894/0.007938, allocations: 0.5263 MB / 496.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.008694, allocations: 0.8404 MB / 497.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.008948, allocations: 138.2 kB / 497.2 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.009445, allocations: 491.8 kB / 497.7 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.009802, allocations: 315 kB / 498 MB, free: 3.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/0.00988, allocations: 61.41 kB / 498.1 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.01017, allocations: 143.8 kB / 498.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.01026, allocations: 167.3 kB / 498.4 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.01046, allocations: 259.2 kB / 498.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.01108, allocations: 0.6815 MB / 499.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01108, allocations: 4.5 kB / 499.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01108, allocations: 0 / 499.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.0111, allocations: 0.5938 kB / 499.3 MB, free: 2.082 MB / 410.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.002618/0.01371, allocations: 1.745 MB / 0.4893 GB, free: 312 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.01375, allocations: 12.66 kB / 0.4893 GB, free: 300 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.0152, allocations: 0.5181 MB / 0.4898 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.01567, allocations: 447.3 kB / 0.4903 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.01584, allocations: 274.9 kB / 0.4905 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.01592, allocations: 56.53 kB / 0.4906 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.01655, allocations: 468.4 kB / 0.491 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01656, allocations: 0 / 0.491 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.01661, allocations: 32.47 kB / 0.491 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.01663, allocations: 12.53 kB / 0.4911 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.01715, allocations: 332.2 kB / 0.4914 GB, free: 14.11 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.01931, allocations: 1.625 MB / 0.493 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.02233, allocations: 1.274 MB / 0.4942 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.02265, allocations: 216 kB / 0.4944 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.0227, allocations: 16.66 kB / 0.4944 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.02313, allocations: 313.9 kB / 0.4947 GB, free: 10.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 2.374e-06/0.02313, allocations: 0 / 0.4947 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.005246/0.02838, allocations: 2.294 MB / 0.497 GB, free: 8.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.02842, allocations: 60.06 kB / 0.497 GB, free: 8.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.02881, allocations: 0.5415 MB / 0.4976 GB, free: 7.688 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.02886, allocations: 41.7 kB / 0.4976 GB, free: 7.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.02904, allocations: 379.9 kB / 0.498 GB, free: 7.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.0292, allocations: 269.7 kB / 0.4982 GB, free: 7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.02935, allocations: 136.3 kB / 0.4983 GB, free: 6.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.02951, allocations: 0.5508 MB / 0.4989 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.02978, allocations: 169.9 kB / 0.499 GB, free: 6.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.0301, allocations: 307.4 kB / 0.4993 GB, free: 5.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.03095, allocations: 0.6975 MB / 0.5 GB, free: 5.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.03096, allocations: 0 / 0.5 GB, free: 5.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002811/0.03377, allocations: 1.489 MB / 0.5015 GB, free: 3.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.03379, allocations: 4 kB / 0.5015 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.03379, allocations: 4 kB / 0.5015 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.03616, allocations: 0.8651 MB / 0.5023 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.03641, allocations: 111.8 kB / 0.5024 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/0.04016, allocations: 3.112 MB / 0.5055 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.04048, allocations: 95.48 kB / 0.5056 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.04052, allocations: 27.98 kB / 0.5056 GB, free: 15.19 MB / 442.7 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.0002136/0.04073, allocations: 200.9 kB / 0.5058 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.04084, allocations: 107.5 kB / 0.5059 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.04357, allocations: 1.413 MB / 0.5073 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.04358, allocations: 7.984 kB / 0.5073 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.04358, allocations: 4 kB / 0.5073 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.04359, allocations: 3.984 kB / 0.5073 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.04688, allocations: 2.082 MB / 0.5093 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.04688, allocations: 0 / 0.5093 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.04709, allocations: 83.83 kB / 0.5094 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/0.04932, allocations: 0.8562 MB / 0.5102 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.04937, allocations: 16 kB / 0.5102 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.05277, allocations: 3.06 MB / 0.5132 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.05278, allocations: 4 kB / 0.5132 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.05586, allocations: 1.72 MB / 0.5149 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.05593, allocations: 83.33 kB / 0.515 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.05599, allocations: 15.94 kB / 0.515 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.05624, allocations: 47.95 kB / 0.515 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.0565, allocations: 148.4 kB / 0.5152 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.05653, allocations: 20 kB / 0.5152 GB, free: 5.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002438/0.05677, allocations: 354.7 kB / 0.5155 GB, free: 4.727 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05677, allocations: 7.875 kB / 0.5156 GB, free: 4.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.05735, allocations: 275.8 kB / 0.5158 GB, free: 4.449 MB / 442.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) * 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.0001981/0.05754, allocations: 111.2 kB / 0.5159 GB, free: 4.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.05914, allocations: 1.015 MB / 0.5169 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.05914, allocations: 0 / 0.5169 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.06026, allocations: 0.7709 MB / 0.5177 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.06057, allocations: 78.8 kB / 0.5177 GB, free: 2.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.06231, allocations: 1.188 MB / 0.5189 GB, free: 1.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.06242, allocations: 164.5 kB / 0.5191 GB, free: 1.012 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.06254, allocations: 56.95 kB / 0.5191 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.06264, allocations: 48.5 kB / 0.5192 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.06265, allocations: 0 / 0.5192 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of Templates: time 0.0165/0.07914, allocations: 15.71 MB / 0.5345 GB, free: 1.246 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7678000717423856]