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.0008964/0.0008964, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9048/0.9048, allocations: 177.2 MB / 200.3 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.001424/0.001424, allocations: 152.6 kB / 257 MB, free: 12.97 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.3699/0.3699, allocations: 80.25 MB / 340.5 MB, free: 9.633 MB / 314.7 MB " [Timeout remaining time 180] 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.533e-06/1.533e-06, allocations: 0 / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.605e-05, allocations: 6.25 kB / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005262/0.005288, allocations: 4.194 MB / 388 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.007796, allocations: 1.289 MB / 389.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.008024, allocations: 8 kB / 389.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.008405, allocations: 154.6 kB / 389.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.009021, allocations: 281.7 kB / 389.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.01026, allocations: 0.5296 MB / 390.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.01111, allocations: 0.8383 MB / 391.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.01141, allocations: 146.9 kB / 391.2 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.01224, allocations: 490.7 kB / 391.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.01273, allocations: 327 kB / 392 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01283, allocations: 64 kB / 392.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.01313, allocations: 131.8 kB / 392.2 MB, free: 6.223 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.01326, allocations: 171.3 kB / 392.4 MB, free: 6.055 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.01353, allocations: 255.2 kB / 392.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007663/0.0143, allocations: 0.6809 MB / 393.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.0143, allocations: 0 / 393.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0143, allocations: 0 / 393.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01431, allocations: 0 / 393.3 MB, free: 5.121 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.003322/0.01763, allocations: 1.518 MB / 394.8 MB, free: 3.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.01767, allocations: 12.03 kB / 394.8 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.01994, allocations: 0.5388 MB / 395.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.0205, allocations: 348.9 kB / 395.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.02072, allocations: 282.8 kB / 396 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.02082, allocations: 56 kB / 396 MB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.02152, allocations: 423 kB / 396.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.02154, allocations: 4 kB / 396.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.0216, allocations: 20 kB / 396.5 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.02161, allocations: 12 kB / 396.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.02212, allocations: 222.3 kB / 396.7 MB, free: 1.602 MB / 362.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.002517/0.02463, allocations: 1.074 MB / 397.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.02906, allocations: 1.178 MB / 398.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.02935, allocations: 163.2 kB / 399.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.366e-05/0.02943, allocations: 12.66 kB / 399.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.02987, allocations: 284.1 kB / 399.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.02987, allocations: 0 / 399.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00502/0.03489, allocations: 2.017 MB / 401.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.03492, allocations: 60.06 kB / 401.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.03518, allocations: 483 kB / 401.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.03522, allocations: 49.64 kB / 402 MB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.03533, allocations: 258.2 kB / 402.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.03547, allocations: 265.7 kB / 402.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.0356, allocations: 126.6 kB / 402.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.03571, allocations: 394.5 kB / 403 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.03585, allocations: 102 kB / 403.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.03603, allocations: 215.1 kB / 403.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.03653, allocations: 0.5251 MB / 403.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.03653, allocations: 3.938 kB / 403.8 MB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002118/0.03865, allocations: 1.236 MB / 405.1 MB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.03867, allocations: 8 kB / 405.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.03867, allocations: 0 / 405.1 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.04073, allocations: 0.8338 MB / 405.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.04094, allocations: 103.8 kB / 406 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.04355, allocations: 2.335 MB / 408.4 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.0438, allocations: 87.47 kB / 408.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.04382, allocations: 24 kB / 408.5 MB, free: 5.539 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.0001635/0.04399, allocations: 170.1 kB / 408.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.04406, allocations: 71.88 kB / 408.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.04616, allocations: 1.217 MB / 409.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.04617, allocations: 8 kB / 409.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.04617, allocations: 0 / 409.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.04618, allocations: 11.97 kB / 409.9 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.04865, allocations: 1.626 MB / 411.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04865, allocations: 0 / 411.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.04883, allocations: 75.89 kB / 411.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.0507, allocations: 0.8244 MB / 412.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.05073, allocations: 15.98 kB / 412.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.05313, allocations: 2.283 MB / 414.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.05313, allocations: 0 / 414.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.0554, allocations: 1.414 MB / 416.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.05546, allocations: 67.41 kB / 416.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.05551, allocations: 12 kB / 416.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.05573, allocations: 51.95 kB / 416.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.05593, allocations: 148.3 kB / 416.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.05596, allocations: 20 kB / 416.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.05608, allocations: 212.4 kB / 416.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-08/0.05608, allocations: 0 / 416.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.0565, allocations: 271.8 kB / 416.9 MB, free: 12.87 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.0001313/0.05663, allocations: 108.3 kB / 417.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.05774, allocations: 0.8087 MB / 417.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.05775, allocations: 8 kB / 417.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008321/0.05858, allocations: 0.6397 MB / 418.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.05881, allocations: 78.84 kB / 418.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.06025, allocations: 1.192 MB / 419.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.06034, allocations: 156.5 kB / 419.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.06046, allocations: 64.88 kB / 420 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.06059, allocations: 123.4 kB / 420.1 MB, free: 9.598 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.06059, allocations: 0 / 420.1 MB, free: 9.598 MB / 394.7 MB Notification: Performance of Templates: time 0.01531/0.07591, allocations: 15.03 MB / 435.1 MB, free: 10.6 MB / 410.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.4320281222462654]