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.0009737/0.0009737, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.975/0.975, allocations: 177.1 MB / 201 MB, free: 5.68 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.001242/0.001242, allocations: 155.8 kB / 257.7 MB, free: 12.96 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.2718/0.2718, allocations: 80.25 MB / 394.5 MB, free: 1.988 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.483e-06/1.483e-06, allocations: 0 / 491 MB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.572e-05, allocations: 4.141 kB / 491 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003305/0.003321, allocations: 4.188 MB / 495.2 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.005104, allocations: 1.251 MB / 496.4 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.005313, allocations: 8.781 kB / 496.4 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.005595, allocations: 146.7 kB / 496.6 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.006004, allocations: 287.2 kB / 496.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.00676, allocations: 0.5148 MB / 497.4 MB, free: 4.922 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.007315, allocations: 0.8443 MB / 498.2 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.007514, allocations: 136.1 kB / 498.4 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.007851, allocations: 490.7 kB / 498.8 MB, free: 3.449 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.008157, allocations: 322.9 kB / 499.2 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.008221, allocations: 64 kB / 499.2 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.00844, allocations: 137 kB / 499.4 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.008535, allocations: 175.2 kB / 499.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.008706, allocations: 255.2 kB / 499.8 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.009225, allocations: 0.6824 MB / 0.4887 GB, free: 1.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009227, allocations: 0 / 0.4887 GB, free: 1.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009228, allocations: 0 / 0.4887 GB, free: 1.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.009235, allocations: 0 / 0.4887 GB, free: 1.832 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.002459/0.01169, allocations: 1.756 MB / 0.4904 GB, free: 44 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01173, allocations: 8.719 kB / 0.4904 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.01316, allocations: 0.5186 MB / 0.491 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.01361, allocations: 454.2 kB / 0.4914 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.01379, allocations: 277.3 kB / 0.4917 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.01387, allocations: 56 kB / 0.4917 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.0144, allocations: 415 kB / 0.4921 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01442, allocations: 3.938 kB / 0.4921 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.01446, allocations: 25.03 kB / 0.4921 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01448, allocations: 15.98 kB / 0.4921 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.01487, allocations: 263.5 kB / 0.4924 GB, free: 13.96 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.002009/0.01688, allocations: 1.546 MB / 0.4939 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.01985, allocations: 1.225 MB / 0.4951 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.02008, allocations: 178 kB / 0.4953 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.02013, allocations: 12.66 kB / 0.4953 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.02046, allocations: 285.8 kB / 0.4956 GB, free: 10.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 2.134e-06/0.02046, allocations: 0 / 0.4956 GB, free: 10.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.0051/0.02556, allocations: 2.173 MB / 0.4977 GB, free: 8.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.0256, allocations: 60.06 kB / 0.4977 GB, free: 8.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.0259, allocations: 0.5334 MB / 0.4983 GB, free: 7.871 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.02594, allocations: 41.7 kB / 0.4983 GB, free: 7.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.02612, allocations: 383.8 kB / 0.4987 GB, free: 7.445 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.02627, allocations: 273.6 kB / 0.4989 GB, free: 7.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.02642, allocations: 136.2 kB / 0.4991 GB, free: 7.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.02657, allocations: 0.5662 MB / 0.4996 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.02674, allocations: 125.9 kB / 0.4997 GB, free: 6.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.02699, allocations: 275.3 kB / 0.5 GB, free: 6.023 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.02761, allocations: 0.5826 MB / 0.5006 GB, free: 5.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02762, allocations: 0 / 0.5006 GB, free: 5.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002583/0.0302, allocations: 1.4 MB / 0.5019 GB, free: 3.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.03022, allocations: 14.12 kB / 0.5019 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.03022, allocations: 0 / 0.5019 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.03251, allocations: 0.8525 MB / 0.5028 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.03275, allocations: 111.8 kB / 0.5029 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.03605, allocations: 3.014 MB / 0.5058 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.03636, allocations: 87.52 kB / 0.5059 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.03639, allocations: 16 kB / 0.5059 GB, free: 15.76 MB / 442.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.0001983/0.03659, allocations: 210.8 kB / 0.5061 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.03669, allocations: 107.5 kB / 0.5062 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.0392, allocations: 1.338 MB / 0.5075 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.0392, allocations: 11.98 kB / 0.5075 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.03921, allocations: 0 / 0.5075 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.03921, allocations: 3.984 kB / 0.5075 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.04221, allocations: 1.927 MB / 0.5094 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04222, allocations: 4 kB / 0.5094 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.04242, allocations: 79.89 kB / 0.5095 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.04461, allocations: 0.8522 MB / 0.5103 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.04465, allocations: 16 kB / 0.5104 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.04768, allocations: 2.965 MB / 0.5133 GB, free: 8.051 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.04768, allocations: 0 / 0.5133 GB, free: 8.051 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.0504, allocations: 1.606 MB / 0.5148 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.05047, allocations: 87.33 kB / 0.5149 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.05054, allocations: 15.98 kB / 0.5149 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.05079, allocations: 47.97 kB / 0.515 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.05101, allocations: 144.4 kB / 0.5151 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.05104, allocations: 23.92 kB / 0.5151 GB, free: 6.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.0512, allocations: 330.6 kB / 0.5154 GB, free: 5.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0512, allocations: 0 / 0.5154 GB, free: 5.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.0517, allocations: 267.8 kB / 0.5157 GB, free: 5.516 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.0001426/0.05184, allocations: 123.2 kB / 0.5158 GB, free: 5.387 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.05316, allocations: 0.9371 MB / 0.5167 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.05317, allocations: 0 / 0.5167 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.05416, allocations: 0.7392 MB / 0.5174 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.05446, allocations: 74.92 kB / 0.5175 GB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.05598, allocations: 1.179 MB / 0.5187 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.895e-05/0.05608, allocations: 160.5 kB / 0.5188 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.0562, allocations: 56.95 kB / 0.5189 GB, free: 2.133 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.05635, allocations: 150.2 kB / 0.519 GB, free: 1.984 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.05635, allocations: 0 / 0.519 GB, free: 1.984 MB / 442.7 MB Notification: Performance of Templates: time 0.01626/0.07261, allocations: 16.31 MB / 0.535 GB, free: 1.703 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.844247722066939]