Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0006689/0.0006689, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001567, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.843/0.843, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1416/0.9846, allocations: 53.65 MB / 241.9 MB, free: 2.734 MB / 234.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.0008021/0.0008021, allocations: 148.4 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001875, allocations: 482.4 kB / 243.2 MB, free: 1.418 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4365/0.4365, allocations: 88.98 MB / 333 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0403/0.4768, allocations: 30.19 MB / 363.1 MB, free: 3.246 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Tests.Branches.Generic.ULTC") translateModel(OpenIPSL.Tests.Branches.Generic.ULTC,tolerance=0.0001,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 364.4 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.728e-05, allocations: 3.406 kB / 364.4 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003397/0.003414, allocations: 4.257 MB / 368.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005119, allocations: 1.307 MB / 370 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.005298, allocations: 8 kB / 370 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.005523, allocations: 154.7 kB / 370.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.005844, allocations: 281.7 kB / 370.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.006567, allocations: 0.5218 MB / 370.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.00711, allocations: 0.8248 MB / 371.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.00732, allocations: 158.9 kB / 371.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.007733, allocations: 0.5484 MB / 372.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.008068, allocations: 322.9 kB / 372.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.008166, allocations: 68 kB / 372.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.008476, allocations: 135.8 kB / 373 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.008553, allocations: 119.5 kB / 373.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.008761, allocations: 203.5 kB / 373.3 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.009335, allocations: 0.6147 MB / 373.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.009349, allocations: 4 kB / 373.9 MB, free: 8.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00935, allocations: 0 / 373.9 MB, free: 8.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.009369, allocations: 3.984 kB / 373.9 MB, free: 8.449 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.002131/0.0115, allocations: 1.743 MB / 375.7 MB, free: 6.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.01153, allocations: 11.98 kB / 375.7 MB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.01355, allocations: 0.535 MB / 376.2 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.01417, allocations: 352.8 kB / 376.6 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.0144, allocations: 278.9 kB / 376.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.0145, allocations: 52 kB / 376.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.01523, allocations: 431 kB / 377.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.01524, allocations: 0 / 377.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.0153, allocations: 20 kB / 377.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.01531, allocations: 16 kB / 377.3 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.01583, allocations: 226.2 kB / 377.6 MB, free: 4.684 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.002584/0.01842, allocations: 1.078 MB / 378.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.02236, allocations: 1.183 MB / 379.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.02266, allocations: 155.2 kB / 380 MB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.02273, allocations: 12.66 kB / 380 MB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.0232, allocations: 276.2 kB / 380.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 4.499e-06/0.0232, allocations: 0 / 380.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.00678/0.02998, allocations: 2.025 MB / 382.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.03003, allocations: 60.06 kB / 382.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.03048, allocations: 475.1 kB / 382.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.03054, allocations: 45.69 kB / 382.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.03072, allocations: 258.2 kB / 383.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.03094, allocations: 265.7 kB / 383.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.03114, allocations: 130.5 kB / 383.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.03129, allocations: 398.5 kB / 383.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.03152, allocations: 97.97 kB / 384 MB, free: 14.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.03182, allocations: 215.1 kB / 384.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.03264, allocations: 0.5251 MB / 384.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.03264, allocations: 0 / 384.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003477/0.03612, allocations: 1.236 MB / 385.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.03614, allocations: 4 kB / 385.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.03615, allocations: 4 kB / 385.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.03945, allocations: 0.8404 MB / 386.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.03996, allocations: 127.8 kB / 386.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.04336, allocations: 2.335 MB / 389.2 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.04375, allocations: 95.47 kB / 389.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.04378, allocations: 20 kB / 389.4 MB, free: 8.605 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.0002144/0.044, allocations: 162.2 kB / 389.5 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.04408, allocations: 71.86 kB / 389.6 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.04617, allocations: 1.225 MB / 390.8 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.04617, allocations: 8 kB / 390.8 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.04618, allocations: 0 / 390.8 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.04619, allocations: 3.984 kB / 390.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.04871, allocations: 1.626 MB / 392.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.04871, allocations: 4 kB / 392.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.04894, allocations: 87.89 kB / 392.5 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.04901, allocations: 75.28 kB / 392.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.05089, allocations: 0.8243 MB / 393.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.05093, allocations: 15.98 kB / 393.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.05338, allocations: 2.275 MB / 395.7 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05339, allocations: 4 kB / 395.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.05568, allocations: 1.407 MB / 397.1 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.05576, allocations: 23.98 kB / 397.2 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.05599, allocations: 47.91 kB / 397.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.05622, allocations: 156.3 kB / 397.4 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.05625, allocations: 15.98 kB / 397.4 MB, free: 412 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.05639, allocations: 212.3 kB / 397.6 MB, free: 200 kB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05639, allocations: 0 / 397.6 MB, free: 200 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005166/0.05691, allocations: 271.8 kB / 397.9 MB, free: 15.93 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.0001432/0.05705, allocations: 107.3 kB / 398 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.05822, allocations: 0.8029 MB / 398.8 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.05823, allocations: 8 kB / 398.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.05908, allocations: 0.6496 MB / 399.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.05936, allocations: 134.8 kB / 399.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006383/0.06574, allocations: 1.191 MB / 400.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.06586, allocations: 168.3 kB / 400.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000152/0.06601, allocations: 60.94 kB / 401 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.06615, allocations: 123.4 kB / 401.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.06615, allocations: 0 / 401.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of Templates: time 0.01618/0.08233, allocations: 15.14 MB / 416.2 MB, free: 13.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3428152007982135]