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.0009517/0.0009517, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002289, allocations: 435.8 kB / 10.33 MB, free: 368 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.8784/0.8784, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1524/1.031, allocations: 53.64 MB / 241.9 MB, free: 2.723 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.0008203/0.0008203, allocations: 152.3 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000999/0.001819, allocations: 479.6 kB / 243.2 MB, free: 1.414 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4183/0.4183, allocations: 89.07 MB / 333 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0428/0.4611, allocations: 30.21 MB / 363.2 MB, free: 3.172 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 3.2.0-dev/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.453e-06/1.453e-06, allocations: 0 / 364.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.228e-05, allocations: 2.312 kB / 364.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005189/0.005211, allocations: 4.259 MB / 368.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.007009, allocations: 1.311 MB / 370.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.007188, allocations: 8 kB / 370.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.007415, allocations: 142.7 kB / 370.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.007759, allocations: 289.6 kB / 370.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.008529, allocations: 0.514 MB / 371 MB, free: 11.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.009116, allocations: 0.8287 MB / 371.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.009351, allocations: 150.9 kB / 372 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.009815, allocations: 0.56 MB / 372.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.01012, allocations: 319 kB / 372.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.261e-05/0.01018, allocations: 64 kB / 372.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.01042, allocations: 135.8 kB / 373.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.0105, allocations: 119.5 kB / 373.2 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.01065, allocations: 203.4 kB / 373.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.0112, allocations: 0.6186 MB / 374 MB, free: 8.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.01121, allocations: 0 / 374 MB, free: 8.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.01121, allocations: 0 / 374 MB, free: 8.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.01123, allocations: 0 / 374 MB, free: 8.391 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.002191/0.01342, allocations: 1.751 MB / 375.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.01345, allocations: 8.75 kB / 375.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.01473, allocations: 0.535 MB / 376.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.01508, allocations: 352.8 kB / 376.6 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.01522, allocations: 274.9 kB / 376.9 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.01529, allocations: 52 kB / 377 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.01586, allocations: 427 kB / 377.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01587, allocations: 0 / 377.4 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.01591, allocations: 23.98 kB / 377.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01592, allocations: 19.98 kB / 377.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.01621, allocations: 226.2 kB / 377.6 MB, free: 4.621 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.001466/0.01768, allocations: 1.07 MB / 378.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.02008, allocations: 1.194 MB / 379.9 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.02025, allocations: 159.2 kB / 380.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.0203, allocations: 12.66 kB / 380.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.02058, allocations: 276.2 kB / 380.3 MB, free: 1.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 1.793e-06/0.02059, allocations: 4 kB / 380.4 MB, free: 1.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.004096/0.02468, allocations: 2.021 MB / 382.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.02472, allocations: 60.06 kB / 382.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.02497, allocations: 475.1 kB / 382.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.02501, allocations: 41.7 kB / 382.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.02511, allocations: 258.3 kB / 383.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.02525, allocations: 269.6 kB / 383.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.02537, allocations: 130.6 kB / 383.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.02547, allocations: 398.5 kB / 384 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.02577, allocations: 97.97 kB / 384.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.02597, allocations: 219 kB / 384.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.02649, allocations: 0.5208 MB / 384.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.0265, allocations: 4 kB / 384.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002323/0.02882, allocations: 1.228 MB / 386 MB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.02884, allocations: 4 kB / 386 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.02885, allocations: 4 kB / 386 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.03096, allocations: 0.8414 MB / 386.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.03126, allocations: 127.8 kB / 387 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.03399, allocations: 2.332 MB / 389.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.03431, allocations: 91.48 kB / 389.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.03435, allocations: 23.98 kB / 389.4 MB, free: 8.547 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.0001884/0.03454, allocations: 162.2 kB / 389.6 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.03462, allocations: 79.84 kB / 389.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.03672, allocations: 1.221 MB / 390.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.03672, allocations: 8 kB / 390.9 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.03673, allocations: 11.98 kB / 390.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.03674, allocations: 0 / 390.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.03929, allocations: 1.626 MB / 392.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.03929, allocations: 0 / 392.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.03952, allocations: 87.89 kB / 392.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.03959, allocations: 71.34 kB / 392.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.04152, allocations: 0.8245 MB / 393.5 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.04156, allocations: 15.98 kB / 393.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.04409, allocations: 2.277 MB / 395.8 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.04409, allocations: 4 kB / 395.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.04641, allocations: 1.411 MB / 397.2 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.04648, allocations: 15.94 kB / 397.3 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.04671, allocations: 47.95 kB / 397.3 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.04694, allocations: 152.3 kB / 397.5 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.04697, allocations: 15.98 kB / 397.5 MB, free: 352 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.04711, allocations: 212.3 kB / 397.7 MB, free: 140 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04711, allocations: 0 / 397.7 MB, free: 140 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.04765, allocations: 271.8 kB / 397.9 MB, free: 15.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.0001493/0.0478, allocations: 104.4 kB / 398 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.04901, allocations: 0.8185 MB / 398.9 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.04902, allocations: 8 kB / 398.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.0499, allocations: 0.6418 MB / 399.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.05019, allocations: 134.8 kB / 399.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.05674, allocations: 1.195 MB / 400.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.05685, allocations: 164.3 kB / 401 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.05702, allocations: 64.92 kB / 401.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.05717, allocations: 123.4 kB / 401.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.944e-06/0.05717, allocations: 0 / 401.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01692/0.07409, allocations: 15.14 MB / 416.3 MB, free: 13.49 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.3800297705456614]