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.001011/0.001011, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.9101/0.9101, allocations: 177.2 MB / 200.3 MB, free: 5.336 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.001002/0.001002, allocations: 167.3 kB / 256.9 MB, free: 12.79 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.267/0.267, allocations: 80.26 MB / 393.7 MB, free: 1.98 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 2.385e-06/2.385e-06, allocations: 3.984 kB / 490.2 MB, free: 11.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.581e-05, allocations: 4.844 kB / 490.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00449/0.004505, allocations: 4.192 MB / 494.4 MB, free: 7.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006507, allocations: 1.244 MB / 495.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.006746, allocations: 8.594 kB / 495.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.007059, allocations: 152.2 kB / 495.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004858/0.007545, allocations: 284.1 kB / 496.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.008436, allocations: 0.5163 MB / 496.6 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.009185, allocations: 0.8375 MB / 497.4 MB, free: 4.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.009409, allocations: 134.2 kB / 497.6 MB, free: 3.934 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.009834, allocations: 0.4915 MB / 498.1 MB, free: 3.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.01019, allocations: 315 kB / 498.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.01027, allocations: 64.69 kB / 498.4 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.01054, allocations: 131.8 kB / 498.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.01084, allocations: 173 kB / 498.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.01104, allocations: 259.2 kB / 499 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.01169, allocations: 0.6809 MB / 499.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.01169, allocations: 0 / 499.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01169, allocations: 0.5625 kB / 499.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.0117, allocations: 0 / 499.7 MB, free: 1.836 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.002916/0.01462, allocations: 1.764 MB / 0.4897 GB, free: 40 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01465, allocations: 8.719 kB / 0.4897 GB, free: 32 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.01653, allocations: 0.5187 MB / 0.4902 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.01703, allocations: 446.3 kB / 0.4906 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.0172, allocations: 279.8 kB / 0.4909 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/0.01729, allocations: 55.98 kB / 0.4909 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.01789, allocations: 412.4 kB / 0.4913 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.0179, allocations: 0 / 0.4913 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.01795, allocations: 27.98 kB / 0.4914 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01796, allocations: 13.78 kB / 0.4914 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.01841, allocations: 262.2 kB / 0.4916 GB, free: 13.97 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.002326/0.02074, allocations: 1.547 MB / 0.4931 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.02435, allocations: 1.224 MB / 0.4943 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.02461, allocations: 174 kB / 0.4945 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.02466, allocations: 16.64 kB / 0.4945 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/0.02503, allocations: 289.8 kB / 0.4948 GB, free: 10.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 2.164e-06/0.02503, allocations: 3.938 kB / 0.4948 GB, free: 10.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.00605/0.03108, allocations: 2.169 MB / 0.4969 GB, free: 8.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.03112, allocations: 64.06 kB / 0.497 GB, free: 8.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.0315, allocations: 0.5334 MB / 0.4975 GB, free: 7.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.03155, allocations: 41.7 kB / 0.4975 GB, free: 7.828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.03175, allocations: 383.8 kB / 0.4979 GB, free: 7.449 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.03193, allocations: 269.6 kB / 0.4982 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.03213, allocations: 136.2 kB / 0.4983 GB, free: 7.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.03231, allocations: 0.5701 MB / 0.4988 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.03252, allocations: 129.9 kB / 0.499 GB, free: 6.336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.03281, allocations: 267.3 kB / 0.4992 GB, free: 6.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.03357, allocations: 0.5881 MB / 0.4998 GB, free: 5.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.03358, allocations: 0 / 0.4998 GB, free: 5.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003656/0.03723, allocations: 1.399 MB / 0.5012 GB, free: 3.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.03725, allocations: 12 kB / 0.5012 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.03726, allocations: 0 / 0.5012 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/0.04005, allocations: 0.8521 MB / 0.502 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.04035, allocations: 111.8 kB / 0.5021 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.04381, allocations: 3.014 MB / 0.5051 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.04407, allocations: 91.47 kB / 0.5051 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.0441, allocations: 20 kB / 0.5052 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.0001755/0.04428, allocations: 214.8 kB / 0.5054 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.04437, allocations: 103.5 kB / 0.5055 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.04662, allocations: 1.342 MB / 0.5068 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.04662, allocations: 8 kB / 0.5068 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.04662, allocations: 4 kB / 0.5068 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.04663, allocations: 7.922 kB / 0.5068 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.0496, allocations: 1.927 MB / 0.5087 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.0496, allocations: 0 / 0.5087 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.04978, allocations: 75.89 kB / 0.5088 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.05174, allocations: 0.8486 MB / 0.5096 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.05178, allocations: 16 kB / 0.5096 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.05457, allocations: 2.959 MB / 0.5125 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.05457, allocations: 0 / 0.5125 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.05706, allocations: 1.614 MB / 0.5141 GB, free: 6.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.05712, allocations: 79.34 kB / 0.5141 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.05718, allocations: 15.98 kB / 0.5142 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.0574, allocations: 47.95 kB / 0.5142 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.0576, allocations: 148.4 kB / 0.5143 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.05763, allocations: 23.92 kB / 0.5144 GB, free: 6.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.05779, allocations: 334.6 kB / 0.5147 GB, free: 5.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05779, allocations: 0 / 0.5147 GB, free: 5.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.05822, allocations: 263.8 kB / 0.5149 GB, free: 5.52 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.000413/0.05864, allocations: 119.2 kB / 0.515 GB, free: 5.395 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.05985, allocations: 0.945 MB / 0.516 GB, free: 4.422 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.05986, allocations: 3.938 kB / 0.516 GB, free: 4.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.06117, allocations: 0.7353 MB / 0.5167 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.0003918/0.06156, allocations: 70.98 kB / 0.5168 GB, free: 3.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.0634, allocations: 1.185 MB / 0.5179 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.06353, allocations: 160.5 kB / 0.5181 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.06367, allocations: 60.94 kB / 0.5181 GB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.06382, allocations: 138.2 kB / 0.5183 GB, free: 1.992 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/0.06383, allocations: 0 / 0.5183 GB, free: 1.992 MB / 442.7 MB Notification: Performance of Templates: time 0.01854/0.08237, allocations: 15.89 MB / 0.5338 GB, free: 2.199 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.520039575174451]