Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.0008402/0.0008402, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002085, allocations: 440 kB / 10.41 MB, free: 284 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.9727/0.9727, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1656/1.138, allocations: 53.65 MB / 242 MB, free: 2.617 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.0009587/0.0009587, allocations: 145.7 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.002035, allocations: 488.2 kB / 243.4 MB, free: 1.277 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.6404/0.6404, allocations: 89.19 MB / 333.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05655/0.6969, allocations: 30.21 MB / 363.5 MB, free: 3.047 MB / 346.7 MB " [Timeout remaining time 179] 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.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 364.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.232e-05, allocations: 10.03 kB / 364.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.007176/0.007199, allocations: 5.249 MB / 370.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.01221, allocations: 1.99 MB / 372.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.01301, allocations: 8 kB / 372.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.01349, allocations: 182.3 kB / 372.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.01558, allocations: 0.7455 MB / 373 MB, free: 9.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01672, allocations: 474.9 kB / 373.5 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.01856, allocations: 1.312 MB / 374.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.01895, allocations: 177.5 kB / 375 MB, free: 7.633 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.02052, allocations: 0.9127 MB / 375.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.02139, allocations: 0.5141 MB / 376.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.02165, allocations: 116 kB / 376.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.0223, allocations: 271.8 kB / 376.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.02249, allocations: 191.4 kB / 377 MB, free: 5.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.02285, allocations: 287.4 kB / 377.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.02419, allocations: 0.9029 MB / 378.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.02421, allocations: 0 / 378.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02421, allocations: 0 / 378.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.7e-05/0.02425, allocations: 0 / 378.2 MB, free: 4.438 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003746/0.02799, allocations: 2.084 MB / 380.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.02804, allocations: 8.031 kB / 380.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.02985, allocations: 0.6636 MB / 380.9 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.03045, allocations: 445.4 kB / 381.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.0306, allocations: 213.7 kB / 381.6 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.03069, allocations: 63.95 kB / 381.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/0.03124, allocations: 438.9 kB / 382 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.03126, allocations: 4 kB / 382 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.0313, allocations: 20 kB / 382.1 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.03131, allocations: 12 kB / 382.1 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.03163, allocations: 233 kB / 382.3 MB, free: 172 kB / 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.002185/0.03381, allocations: 1.424 MB / 383.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/0.03754, allocations: 1.665 MB / 385.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.03775, allocations: 158.8 kB / 385.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.03781, allocations: 12.66 kB / 385.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.03815, allocations: 316 kB / 385.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.823e-06/0.03815, allocations: 3.938 kB / 385.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003487/0.04163, allocations: 1.725 MB / 387.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.04167, allocations: 64.06 kB / 387.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.04213, allocations: 0.6442 MB / 388.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.04218, allocations: 41.7 kB / 388.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.04233, allocations: 287 kB / 388.6 MB, free: 9.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.0425, allocations: 281.6 kB / 388.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.04271, allocations: 206.7 kB / 389.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.0428, allocations: 353.8 kB / 389.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.04312, allocations: 214.6 kB / 389.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.0435, allocations: 337.1 kB / 390 MB, free: 8.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007205/0.04422, allocations: 0.6214 MB / 390.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.04423, allocations: 0 / 390.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002485/0.04671, allocations: 1.416 MB / 392 MB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.04674, allocations: 15.92 kB / 392 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.04675, allocations: 7.938 kB / 392 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.04912, allocations: 0.9098 MB / 393 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.04971, allocations: 211.6 kB / 393.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.0531, allocations: 2.63 MB / 395.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.05374, allocations: 115.4 kB / 395.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.05378, allocations: 27.98 kB / 395.9 MB, free: 2.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (G1.avr.lagLimWindupGuard.inputLow,G1.avr.lagLimWindupGuard.inputBelow,G1.avr.lagLimWindupGuard.stateLow,G1.avr.lagLimWindupGuard.inputHigh,G1.avr.lagLimWindupGuard.inputAbove,G1.avr.lagLimWindupGuard.stateHigh,G1.avr.lagLimWindupGuard.atMin,$PRE.G1.avr.lagLimWindupGuard.atMin,G1.avr.lagLimWindupGuard.atMax,$PRE.G1.avr.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.05403, allocations: 175.5 kB / 396.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.05415, allocations: 79.92 kB / 396.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.05594, allocations: 1.106 MB / 397.3 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.05594, allocations: 8 kB / 397.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.05595, allocations: 11.94 kB / 397.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.05595, allocations: 3.984 kB / 397.3 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.0584, allocations: 1.613 MB / 398.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.05841, allocations: 4 kB / 398.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.05869, allocations: 103.8 kB / 399 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.05878, allocations: 83.27 kB / 399.1 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.06054, allocations: 0.8291 MB / 399.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.06058, allocations: 19.98 kB / 400 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.06295, allocations: 2.214 MB / 402.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.06295, allocations: 4 kB / 402.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.06493, allocations: 1.325 MB / 403.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.065, allocations: 24 kB / 403.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.06532, allocations: 51.95 kB / 403.6 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.06553, allocations: 136.4 kB / 403.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.06557, allocations: 15.98 kB / 403.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.0658, allocations: 324.5 kB / 404 MB, free: 9.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0658, allocations: 0 / 404 MB, free: 9.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000616/0.06642, allocations: 331.7 kB / 404.4 MB, free: 9.617 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.lagLimWindupGuard.state,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,G1.avr.lagLimWindupGuard.atMax,G1.avr.lagLimWindupGuard.atMin,G1.avr.lagLimWindupGuard.stateHigh,G1.avr.lagLimWindupGuard.inputAbove,G1.avr.lagLimWindupGuard.inputHigh,G1.avr.lagLimWindupGuard.stateLow,G1.avr.lagLimWindupGuard.inputBelow,G1.avr.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (G1.avr.lagLimWindupGuard.atMax,G1.avr.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.06661, allocations: 124.2 kB / 404.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.06811, allocations: 1.007 MB / 405.5 MB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.06812, allocations: 12 kB / 405.5 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.06908, allocations: 0.6676 MB / 406.2 MB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.06949, allocations: 268.2 kB / 406.4 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/0.07659, allocations: 1.531 MB / 408 MB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.07671, allocations: 180 kB / 408.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.07694, allocations: 86.17 kB / 408.2 MB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.07717, allocations: 151.4 kB / 408.4 MB, free: 5.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.07718, allocations: 0 / 408.4 MB, free: 5.5 MB / 394.7 MB Notification: Performance of Templates: time 0.01966/0.09683, allocations: 18.73 MB / 427.1 MB, free: 2.934 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9830633206292987]