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.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.001382/0.001382, allocations: 92.7 kB / 19.44 MB, free: 324 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 1.464/1.464, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 MB " [Timeout remaining time 178] 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.001814/0.001814, allocations: 164.6 kB / 256.3 MB, free: 13.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4614/0.4614, allocations: 80.38 MB / 393.1 MB, free: 2.164 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_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 1.553e-06/1.553e-06, allocations: 0 / 489.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.759e-05, allocations: 4.25 kB / 489.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005843/0.005871, allocations: 3.96 MB / 493.2 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.0086, allocations: 1.229 MB / 494.4 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.008884, allocations: 4 kB / 494.4 MB, free: 6.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.009287, allocations: 147.7 kB / 494.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.009937, allocations: 270.9 kB / 494.8 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.0113, allocations: 0.5263 MB / 495.3 MB, free: 5.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.01236, allocations: 0.8404 MB / 496.2 MB, free: 4.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.01266, allocations: 134.8 kB / 496.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.01351, allocations: 489.4 kB / 496.8 MB, free: 4.328 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005257/0.01403, allocations: 311 kB / 497.1 MB, free: 4.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.01415, allocations: 64 kB / 497.1 MB, free: 3.961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.0145, allocations: 131.8 kB / 497.3 MB, free: 3.832 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.01468, allocations: 175.2 kB / 497.4 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.015, allocations: 259.1 kB / 497.7 MB, free: 3.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.01624, allocations: 0.942 MB / 498.6 MB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01624, allocations: 1.812 kB / 498.6 MB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.01624, allocations: 3.984 kB / 498.6 MB, free: 2.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.01626, allocations: 0 / 498.6 MB, free: 2.457 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.005832/0.02209, allocations: 1.612 MB / 0.4885 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.02214, allocations: 9.719 kB / 0.4885 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.02679, allocations: 0.5097 MB / 0.489 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.02821, allocations: 455.5 kB / 0.4895 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.02869, allocations: 279.5 kB / 0.4897 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.02888, allocations: 52.88 kB / 0.4898 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.03137, allocations: 0.6962 MB / 0.4905 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.0314, allocations: 3.984 kB / 0.4905 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.03152, allocations: 21.75 kB / 0.4905 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.03154, allocations: 12 kB / 0.4905 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.0341, allocations: 0.6747 MB / 0.4912 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.04071, allocations: 1.728 MB / 0.4928 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/0.0554, allocations: 1.741 MB / 0.4945 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.05755, allocations: 435.1 kB / 0.495 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.05767, allocations: 16.64 kB / 0.495 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002484/0.06016, allocations: 0.5352 MB / 0.4955 GB, free: 9.559 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 5.53e-06/0.06016, allocations: 0 / 0.4955 GB, free: 9.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.02729/0.08745, allocations: 3.387 MB / 0.4988 GB, free: 6.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.08756, allocations: 60.06 kB / 0.4989 GB, free: 6.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.08917, allocations: 0.5186 MB / 0.4994 GB, free: 5.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.08939, allocations: 41.7 kB / 0.4994 GB, free: 5.516 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.08991, allocations: 325.2 kB / 0.4997 GB, free: 5.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.09053, allocations: 261.7 kB / 0.5 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005557/0.09108, allocations: 130.6 kB / 0.5001 GB, free: 4.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/0.09148, allocations: 382.8 kB / 0.5005 GB, free: 4.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.09352, allocations: 405.8 kB / 0.5008 GB, free: 4.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.09573, allocations: 0.5068 MB / 0.5013 GB, free: 3.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0204/0.1161, allocations: 2.533 MB / 0.5038 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.1161, allocations: 0 / 0.5038 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01655/0.1327, allocations: 2.259 MB / 0.506 GB, free: 14.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.1327, allocations: 4 kB / 0.506 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.1328, allocations: 4 kB / 0.506 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/0.1458, allocations: 1.292 MB / 0.5073 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.1469, allocations: 103.8 kB / 0.5074 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/0.1677, allocations: 4.295 MB / 0.5116 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.1692, allocations: 103.5 kB / 0.5117 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.1694, allocations: 20 kB / 0.5117 GB, free: 8.715 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.0007794/0.1702, allocations: 218.3 kB / 0.5119 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/0.1707, allocations: 107.5 kB / 0.512 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.1866, allocations: 2.158 MB / 0.5141 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/0.1867, allocations: 8 kB / 0.5141 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1867, allocations: 0 / 0.5141 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/0.1867, allocations: 3.984 kB / 0.5141 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.2038, allocations: 2.813 MB / 0.5169 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.2038, allocations: 0 / 0.5169 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/0.2046, allocations: 79.89 kB / 0.517 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/0.2164, allocations: 1.285 MB / 0.5182 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.2166, allocations: 15.98 kB / 0.5182 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.2344, allocations: 4.25 MB / 0.5224 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-05/0.2344, allocations: 4 kB / 0.5224 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/0.2517, allocations: 2.777 MB / 0.5251 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.2521, allocations: 83.33 kB / 0.5252 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/0.2524, allocations: 23.94 kB / 0.5252 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.2536, allocations: 55.92 kB / 0.5252 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008733/0.2545, allocations: 156.4 kB / 0.5254 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.2546, allocations: 23.98 kB / 0.5254 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008512/0.2555, allocations: 354.8 kB / 0.5258 GB, free: 10.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2555, allocations: 0 / 0.5258 GB, free: 10.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001687/0.2571, allocations: 267.8 kB / 0.526 GB, free: 9.848 MB / 458.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.0004061/0.2576, allocations: 119.5 kB / 0.5261 GB, free: 9.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00826/0.2658, allocations: 1.398 MB / 0.5275 GB, free: 8.309 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2658, allocations: 0 / 0.5275 GB, free: 8.309 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005495/0.2713, allocations: 0.9368 MB / 0.5284 GB, free: 7.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2724, allocations: 74.94 kB / 0.5285 GB, free: 7.277 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.2774, allocations: 1.275 MB / 0.5297 GB, free: 5.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.2782, allocations: 336.3 kB / 0.53 GB, free: 5.621 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005527/0.2788, allocations: 56.95 kB / 0.5301 GB, free: 5.566 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.2791, allocations: 52.48 kB / 0.5301 GB, free: 5.516 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/0.2791, allocations: 8 kB / 0.5302 GB, free: 5.508 MB / 458.7 MB Notification: Performance of Templates: time 0.04769/0.3268, allocations: 14.64 MB / 0.5444 GB, free: 6.926 MB / 474.7 MB " [Timeout remaining time 660] 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.105271350941621]