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.001009/0.001009, 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.9751/0.9751, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001077/0.001077, allocations: 152.6 kB / 257 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.408/0.408, allocations: 80.24 MB / 340.5 MB, free: 9.605 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.082e-06/1.082e-06, allocations: 0 / 383.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.369e-05, allocations: 9.125 kB / 383.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003398/0.003411, allocations: 4.237 MB / 388.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.005349, allocations: 1.305 MB / 389.4 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.005527, allocations: 8 kB / 389.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.0058, allocations: 142.8 kB / 389.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.006188, allocations: 285.7 kB / 389.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.006961, allocations: 0.5218 MB / 390.3 MB, free: 8.109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005785/0.00754, allocations: 0.8383 MB / 391.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.00774, allocations: 139 kB / 391.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.008116, allocations: 494.7 kB / 391.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.008445, allocations: 322.9 kB / 392.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.008514, allocations: 64 kB / 392.1 MB, free: 6.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.008747, allocations: 135.9 kB / 392.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.863e-05/0.008836, allocations: 175.2 kB / 392.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.009001, allocations: 259.2 kB / 392.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.009521, allocations: 0.6809 MB / 393.4 MB, free: 5.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.009522, allocations: 3.938 kB / 393.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009523, allocations: 0 / 393.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.009531, allocations: 0 / 393.4 MB, free: 5.004 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.002108/0.01164, allocations: 1.515 MB / 394.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.01167, allocations: 8.031 kB / 394.9 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.0132, allocations: 0.5388 MB / 395.4 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.01358, allocations: 348.9 kB / 395.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.01372, allocations: 274.9 kB / 396.1 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.01379, allocations: 55.94 kB / 396.1 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.01424, allocations: 431 kB / 396.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01425, allocations: 0 / 396.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.01428, allocations: 20 kB / 396.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.01429, allocations: 16 kB / 396.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.01461, allocations: 226.3 kB / 396.8 MB, free: 1.488 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.001658/0.01627, allocations: 1.074 MB / 397.9 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.0187, allocations: 1.172 MB / 399 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.01888, allocations: 155.2 kB / 399.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.01894, allocations: 12.66 kB / 399.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.01922, allocations: 288.1 kB / 399.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.01922, allocations: 0 / 399.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.004091/0.02331, allocations: 2.009 MB / 401.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.02334, allocations: 64.06 kB / 401.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.0236, allocations: 479.1 kB / 402 MB, free: 12.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.02364, allocations: 49.62 kB / 402.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.02375, allocations: 258.3 kB / 402.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.02388, allocations: 269.6 kB / 402.6 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.02402, allocations: 126.6 kB / 402.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.02412, allocations: 394.5 kB / 403.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.02426, allocations: 102 kB / 403.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.02445, allocations: 215.1 kB / 403.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.02497, allocations: 0.529 MB / 403.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02497, allocations: 0 / 403.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002119/0.02709, allocations: 1.24 MB / 405.2 MB, free: 8.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.02711, allocations: 8 kB / 405.2 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02711, allocations: 4 kB / 405.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.02906, allocations: 0.8247 MB / 406 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.02931, allocations: 123.8 kB / 406.1 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.03215, allocations: 2.334 MB / 408.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.03242, allocations: 87.52 kB / 408.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.03245, allocations: 20 kB / 408.6 MB, free: 5.426 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.0001697/0.03262, allocations: 182 kB / 408.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.03269, allocations: 75.86 kB / 408.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.03484, allocations: 1.221 MB / 410 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.03484, allocations: 4 kB / 410 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.03484, allocations: 4 kB / 410 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.03485, allocations: 3.984 kB / 410 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.03738, allocations: 1.619 MB / 411.7 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.03738, allocations: 0 / 411.7 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.03758, allocations: 83.91 kB / 411.8 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.03945, allocations: 0.8286 MB / 412.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.03949, allocations: 15.98 kB / 412.6 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.04194, allocations: 2.28 MB / 414.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.04194, allocations: 0 / 414.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.04424, allocations: 1.414 MB / 416.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.0443, allocations: 67.41 kB / 416.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.04436, allocations: 20 kB / 416.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.04457, allocations: 43.95 kB / 416.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.04481, allocations: 156.3 kB / 416.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.04484, allocations: 12 kB / 416.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.04498, allocations: 212.4 kB / 416.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04498, allocations: 3.938 kB / 416.8 MB, free: 13.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.04544, allocations: 267.8 kB / 417.1 MB, free: 12.75 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.0001464/0.04559, allocations: 116.3 kB / 417.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.04676, allocations: 0.8128 MB / 418 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.04677, allocations: 4 kB / 418 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008728/0.04764, allocations: 0.6358 MB / 418.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.0479, allocations: 81.91 kB / 418.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.04942, allocations: 1.196 MB / 419.9 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.04952, allocations: 156.5 kB / 420 MB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.04964, allocations: 64.92 kB / 420.1 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.04977, allocations: 119.4 kB / 420.2 MB, free: 9.469 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.04977, allocations: 7.938 kB / 420.2 MB, free: 9.461 MB / 394.7 MB Notification: Performance of Templates: time 0.01504/0.06482, allocations: 15.03 MB / 435.3 MB, free: 10.46 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.598250084090978]