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.00136/0.00136, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9308/0.9308, allocations: 177.2 MB / 200.5 MB, free: 5.496 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.001194/0.001194, allocations: 159.5 kB / 257 MB, free: 13.02 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.293/0.293, allocations: 80.25 MB / 393.7 MB, free: 2.223 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.382e-06/1.382e-06, allocations: 0 / 489.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.025e-05, allocations: 8.672 kB / 489.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003917/0.003938, allocations: 4.243 MB / 494 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005546, allocations: 1.257 MB / 495.3 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.005731, allocations: 4 kB / 495.3 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.006034, allocations: 147.6 kB / 495.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.006398, allocations: 270.8 kB / 495.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000804/0.007202, allocations: 0.5347 MB / 496.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.0078, allocations: 0.8404 MB / 497.1 MB, free: 4.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.008018, allocations: 126.3 kB / 497.2 MB, free: 4.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.00835, allocations: 491.4 kB / 497.7 MB, free: 4.039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.008676, allocations: 322.9 kB / 498 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.008742, allocations: 64.66 kB / 498.1 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.008961, allocations: 128.5 kB / 498.2 MB, free: 3.535 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.009053, allocations: 175.2 kB / 498.4 MB, free: 3.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.00923, allocations: 256.9 kB / 498.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.01012, allocations: 0.6809 MB / 499.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.01012, allocations: 0 / 499.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01012, allocations: 3.938 kB / 499.3 MB, free: 2.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.01013, allocations: 1.562 kB / 499.3 MB, free: 2.426 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.002491/0.01262, allocations: 1.74 MB / 0.4893 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.01266, allocations: 8.906 kB / 0.4893 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.01421, allocations: 0.5214 MB / 0.4898 GB, free: 132 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.01468, allocations: 451 kB / 0.4902 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.01485, allocations: 269.1 kB / 0.4905 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.01493, allocations: 55.98 kB / 0.4906 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.01559, allocations: 475 kB / 0.491 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01561, allocations: 0 / 0.491 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.01565, allocations: 24.92 kB / 0.491 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.01567, allocations: 12 kB / 0.491 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.01622, allocations: 336.8 kB / 0.4914 GB, free: 14.46 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.002061/0.01828, allocations: 1.632 MB / 0.493 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.02137, allocations: 1.269 MB / 0.4942 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.02171, allocations: 214 kB / 0.4944 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.02176, allocations: 12.66 kB / 0.4944 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006967/0.02246, allocations: 317.9 kB / 0.4947 GB, free: 10.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=75): time 2.555e-06/0.02246, allocations: 4 kB / 0.4947 GB, free: 10.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=75): time 0.005394/0.02786, allocations: 2.287 MB / 0.497 GB, free: 8.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.0279, allocations: 60.06 kB / 0.497 GB, free: 8.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.02828, allocations: 0.5493 MB / 0.4975 GB, free: 8.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.02833, allocations: 37.7 kB / 0.4976 GB, free: 7.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.02851, allocations: 375.9 kB / 0.4979 GB, free: 7.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.02867, allocations: 265.7 kB / 0.4982 GB, free: 7.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.02882, allocations: 132.3 kB / 0.4983 GB, free: 7.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.02899, allocations: 0.5625 MB / 0.4989 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.02928, allocations: 169.9 kB / 0.499 GB, free: 6.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.02963, allocations: 303.3 kB / 0.4993 GB, free: 6.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.03054, allocations: 0.6936 MB / 0.5 GB, free: 5.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.03055, allocations: 8 kB / 0.5 GB, free: 5.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00315/0.0337, allocations: 1.489 MB / 0.5015 GB, free: 3.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.03372, allocations: 7.984 kB / 0.5015 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.03372, allocations: 4 kB / 0.5015 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.03615, allocations: 0.8677 MB / 0.5023 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.0364, allocations: 111.8 kB / 0.5024 GB, free: 2.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.04015, allocations: 3.108 MB / 0.5055 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.04046, allocations: 91.47 kB / 0.5055 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.0405, allocations: 28 kB / 0.5056 GB, free: 15.54 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($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,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * 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.0002107/0.04071, allocations: 212.9 kB / 0.5058 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.04082, allocations: 95.53 kB / 0.5059 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.04359, allocations: 1.42 MB / 0.5073 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.0436, allocations: 8 kB / 0.5073 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.0436, allocations: 4 kB / 0.5073 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.04361, allocations: 7.969 kB / 0.5073 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.04732, allocations: 2.083 MB / 0.5093 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.04733, allocations: 0 / 0.5093 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.04753, allocations: 71.91 kB / 0.5094 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002248/0.04978, allocations: 0.8535 MB / 0.5102 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.04982, allocations: 19.98 kB / 0.5102 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.05325, allocations: 3.071 MB / 0.5132 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.05325, allocations: 0 / 0.5132 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.05636, allocations: 1.716 MB / 0.5149 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.05646, allocations: 83.33 kB / 0.515 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.05655, allocations: 27.92 kB / 0.515 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.05691, allocations: 39.97 kB / 0.515 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.05725, allocations: 152.4 kB / 0.5152 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.0573, allocations: 19.98 kB / 0.5152 GB, free: 5.414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005057/0.05781, allocations: 350.8 kB / 0.5155 GB, free: 5.074 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05781, allocations: 0 / 0.5155 GB, free: 5.074 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.05836, allocations: 271.8 kB / 0.5158 GB, free: 4.809 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.0001638/0.05852, allocations: 126.5 kB / 0.5159 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.06012, allocations: 0.9998 MB / 0.5169 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.06012, allocations: 8 kB / 0.5169 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.06123, allocations: 0.7743 MB / 0.5177 GB, free: 2.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.06155, allocations: 69.94 kB / 0.5177 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.06333, allocations: 1.194 MB / 0.5189 GB, free: 1.547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.06343, allocations: 160.5 kB / 0.5191 GB, free: 1.367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.06355, allocations: 60.95 kB / 0.5191 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.06365, allocations: 52.48 kB / 0.5192 GB, free: 1.254 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.06365, allocations: 0 / 0.5192 GB, free: 1.254 MB / 442.7 MB Notification: Performance of Templates: time 0.0156/0.07925, allocations: 15.2 MB / 0.534 GB, free: 2.09 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.905230229953304]