Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0006913/0.0006913, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001773, 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.9351/0.9351, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1625/1.098, allocations: 53.65 MB / 242 MB, free: 2.621 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.001177/0.001177, allocations: 149 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.002767, allocations: 487 kB / 243.4 MB, free: 1.289 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.6882/0.6882, allocations: 89.1 MB / 333.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06536/0.7536, allocations: 30.22 MB / 363.5 MB, free: 3.102 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 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.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 364.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.322e-05, allocations: 6.312 kB / 364.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.00666/0.006673, allocations: 5.252 MB / 370 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.01042, allocations: 1.99 MB / 372 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.01072, allocations: 11.94 kB / 372 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.01099, allocations: 174.4 kB / 372.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009773/0.01196, allocations: 0.7407 MB / 372.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.01251, allocations: 490.8 kB / 373.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008984/0.01341, allocations: 1.308 MB / 374.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.01364, allocations: 181.4 kB / 374.9 MB, free: 7.668 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.01441, allocations: 0.9049 MB / 375.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.01504, allocations: 0.5141 MB / 376.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.01527, allocations: 116 kB / 376.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005567/0.01582, allocations: 271.7 kB / 376.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.01601, allocations: 199.3 kB / 376.9 MB, free: 5.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.01625, allocations: 283.4 kB / 377.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007941/0.01704, allocations: 0.899 MB / 378.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.01705, allocations: 0 / 378.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01705, allocations: 0 / 378.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.01707, allocations: 7.922 kB / 378.1 MB, free: 4.473 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.002938/0.02001, allocations: 2.076 MB / 380.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.453e-05/0.02003, allocations: 12.03 kB / 380.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.02197, allocations: 0.6598 MB / 380.8 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004935/0.02246, allocations: 453.3 kB / 381.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.02258, allocations: 197.8 kB / 381.5 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.02266, allocations: 67.94 kB / 381.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.02312, allocations: 438.9 kB / 382 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.02313, allocations: 4 kB / 382 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.02317, allocations: 24 kB / 382 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.02318, allocations: 12 kB / 382 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.02348, allocations: 229 kB / 382.2 MB, free: 220 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.00208/0.02556, allocations: 1.424 MB / 383.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.02945, allocations: 1.671 MB / 385.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.02964, allocations: 157 kB / 385.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.02971, allocations: 12.66 kB / 385.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.03001, allocations: 316 kB / 385.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.763e-06/0.03002, allocations: 0 / 385.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003541/0.03356, allocations: 1.728 MB / 387.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.03359, allocations: 64 kB / 387.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.03408, allocations: 0.6403 MB / 388.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.03413, allocations: 41.7 kB / 388.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.03426, allocations: 291 kB / 388.5 MB, free: 9.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.03441, allocations: 277.6 kB / 388.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.03462, allocations: 206.7 kB / 389 MB, free: 9.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.0347, allocations: 357.8 kB / 389.4 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.03502, allocations: 214.6 kB / 389.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.03539, allocations: 333.1 kB / 389.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.03609, allocations: 0.6214 MB / 390.5 MB, free: 7.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.03609, allocations: 4 kB / 390.5 MB, free: 7.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002696/0.03879, allocations: 1.416 MB / 391.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.0388, allocations: 7.938 kB / 392 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.03881, allocations: 4 kB / 392 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.04103, allocations: 0.925 MB / 392.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.0415, allocations: 207.7 kB / 393.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.04476, allocations: 2.624 MB / 395.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.04517, allocations: 123.3 kB / 395.8 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.04521, allocations: 27.98 kB / 395.9 MB, free: 2.289 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.0001753/0.04539, allocations: 171.5 kB / 396 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.04548, allocations: 75.92 kB / 396.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.04726, allocations: 1.106 MB / 397.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.04726, allocations: 8 kB / 397.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.04727, allocations: 7.938 kB / 397.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.04728, allocations: 3.984 kB / 397.2 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.04967, allocations: 1.617 MB / 398.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.04967, allocations: 0 / 398.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.04997, allocations: 115.8 kB / 399 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.05005, allocations: 87.25 kB / 399 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.05185, allocations: 0.8207 MB / 399.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.05188, allocations: 19.98 kB / 399.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.05441, allocations: 2.21 MB / 402.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.05441, allocations: 4 kB / 402.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.05644, allocations: 1.329 MB / 403.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.05651, allocations: 23.98 kB / 403.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.05682, allocations: 55.95 kB / 403.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.05702, allocations: 136.4 kB / 403.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.05706, allocations: 12 kB / 403.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.05728, allocations: 328.5 kB / 404 MB, free: 9.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05728, allocations: 0 / 404 MB, free: 9.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000472/0.05775, allocations: 327.7 kB / 404.3 MB, free: 9.66 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.0001739/0.05792, allocations: 135.1 kB / 404.4 MB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.05938, allocations: 1.004 MB / 405.4 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.05939, allocations: 12 kB / 405.4 MB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.06059, allocations: 0.671 MB / 406.1 MB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.06099, allocations: 265.7 kB / 406.4 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007119/0.06811, allocations: 1.519 MB / 407.9 MB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.06823, allocations: 184 kB / 408.1 MB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.06841, allocations: 86.17 kB / 408.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.06864, allocations: 151.4 kB / 408.3 MB, free: 5.543 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.06864, allocations: 3.938 kB / 408.3 MB, free: 5.539 MB / 394.7 MB Notification: Performance of Templates: time 0.02359/0.09223, allocations: 18.73 MB / 427 MB, free: 2.977 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.027015752159059]