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.002497/0.002497, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.9601/0.9601, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.001245/0.001245, allocations: 167.1 kB / 257 MB, free: 12.79 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.4023/0.4023, allocations: 83.3 MB / 343.6 MB, free: 6.648 MB / 314.7 MB " [Timeout remaining time 180] 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.502e-06/1.502e-06, allocations: 0 / 387.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.351e-05, allocations: 4.844 kB / 387.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004447/0.00447, allocations: 4.248 MB / 392.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.007037, allocations: 1.301 MB / 393.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.007448, allocations: 8 kB / 393.5 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.007804, allocations: 142.8 kB / 393.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.00831, allocations: 293.6 kB / 393.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.009226, allocations: 0.5217 MB / 394.5 MB, free: 4.148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.009959, allocations: 0.8338 MB / 395.3 MB, free: 3.312 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.01021, allocations: 143 kB / 395.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007397/0.01095, allocations: 498.6 kB / 395.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.01133, allocations: 319 kB / 396.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-05/0.01141, allocations: 64 kB / 396.3 MB, free: 2.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.01174, allocations: 139.9 kB / 396.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.01183, allocations: 175.2 kB / 396.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.01201, allocations: 255.2 kB / 396.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.01267, allocations: 0.677 MB / 397.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01268, allocations: 0 / 397.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01268, allocations: 4 kB / 397.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.01269, allocations: 0 / 397.5 MB, free: 1.051 MB / 362.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.002264/0.01495, allocations: 1.515 MB / 399 MB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01499, allocations: 12.03 kB / 399.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.01649, allocations: 0.535 MB / 399.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.0169, allocations: 356.8 kB / 399.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.01708, allocations: 278.9 kB / 400.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.01714, allocations: 52 kB / 400.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.01762, allocations: 431 kB / 400.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01763, allocations: 0 / 400.7 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.01767, allocations: 20 kB / 400.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01768, allocations: 12 kB / 400.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.018, allocations: 226.3 kB / 400.9 MB, free: 13.53 MB / 378.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.001656/0.01965, allocations: 1.078 MB / 402 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.02253, allocations: 1.179 MB / 403.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.02278, allocations: 151.2 kB / 403.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.02284, allocations: 12.66 kB / 403.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.02318, allocations: 276.2 kB / 403.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.958e-06/0.02318, allocations: 0 / 403.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.004634/0.02781, allocations: 2.017 MB / 405.6 MB, free: 8.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.02785, allocations: 68.06 kB / 405.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.02821, allocations: 475.1 kB / 406.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.02827, allocations: 45.69 kB / 406.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.02839, allocations: 254.3 kB / 406.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.02856, allocations: 277.6 kB / 406.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.02871, allocations: 122.6 kB / 406.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.02882, allocations: 394.5 kB / 407.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.02897, allocations: 102 kB / 407.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.02917, allocations: 215.1 kB / 407.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.02973, allocations: 0.5289 MB / 408.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.02973, allocations: 4 kB / 408.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002229/0.03196, allocations: 1.233 MB / 409.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.03198, allocations: 12.03 kB / 409.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.032, allocations: 0 / 409.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.0343, allocations: 0.8349 MB / 410.2 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.03459, allocations: 119.8 kB / 410.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.0375, allocations: 2.333 MB / 412.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.03787, allocations: 87.53 kB / 412.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.03791, allocations: 16 kB / 412.7 MB, free: 1.473 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real ultc.y3l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 (ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m,$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) * 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.0002135/0.03812, allocations: 174.1 kB / 412.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.993e-05/0.03822, allocations: 79.86 kB / 413 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.04048, allocations: 1.213 MB / 414.2 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.04048, allocations: 8 kB / 414.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.04049, allocations: 3.984 kB / 414.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.0405, allocations: 4 kB / 414.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.04332, allocations: 1.622 MB / 415.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.04332, allocations: 0 / 415.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.04358, allocations: 83.84 kB / 415.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.04561, allocations: 0.8244 MB / 416.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.04566, allocations: 15.98 kB / 416.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.04855, allocations: 2.293 MB / 419 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.04855, allocations: 0 / 419 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.05092, allocations: 1.411 MB / 420.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.05102, allocations: 67.41 kB / 420.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.05109, allocations: 16 kB / 420.5 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.05131, allocations: 47.95 kB / 420.6 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.05155, allocations: 156.3 kB / 420.7 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.05158, allocations: 12 kB / 420.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.05173, allocations: 216.3 kB / 420.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05173, allocations: 0 / 420.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005247/0.05225, allocations: 275.7 kB / 421.2 MB, free: 8.781 MB / 394.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.0001543/0.05241, allocations: 104.4 kB / 421.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.05372, allocations: 0.8145 MB / 422.1 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.05373, allocations: 8 kB / 422.1 MB, free: 7.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.05467, allocations: 0.6417 MB / 422.8 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.05497, allocations: 82.28 kB / 422.9 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.05675, allocations: 1.188 MB / 424 MB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.05686, allocations: 160.5 kB / 424.2 MB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002168/0.05903, allocations: 56.94 kB / 424.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.05925, allocations: 119.4 kB / 424.4 MB, free: 5.52 MB / 394.7 MB Notification: Performance of SimCode: time 2.124e-06/0.05925, allocations: 8 kB / 424.4 MB, free: 5.512 MB / 394.7 MB Notification: Performance of Templates: time 0.02349/0.08274, allocations: 15.04 MB / 439.4 MB, free: 6.508 MB / 410.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5342376339249313]