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.00071/0.00071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.00164, 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.8532/0.8532, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1565/1.01, allocations: 53.64 MB / 241.9 MB, free: 2.73 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.0008048/0.0008048, allocations: 144.8 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002268, allocations: 481.3 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.4614/0.4614, allocations: 89.07 MB / 333 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04221/0.5036, allocations: 30.2 MB / 363.2 MB, free: 3.176 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.563e-06/1.563e-06, allocations: 0 / 364.5 MB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.764e-05, allocations: 8.984 kB / 364.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.006045/0.006063, allocations: 5.259 MB / 369.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.009804, allocations: 1.978 MB / 371.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004889/0.01029, allocations: 11.94 kB / 371.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.0107, allocations: 182.4 kB / 371.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01228, allocations: 0.7433 MB / 372.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.01316, allocations: 486.8 kB / 373.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.01461, allocations: 1.316 MB / 374.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.01493, allocations: 181.5 kB / 374.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.01617, allocations: 0.9049 MB / 375.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00068/0.01685, allocations: 0.5024 MB / 376.1 MB, free: 6.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.01702, allocations: 120 kB / 376.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.01752, allocations: 271.8 kB / 376.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.0177, allocations: 191.4 kB / 376.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.01802, allocations: 287.4 kB / 376.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.0189, allocations: 0.9069 MB / 377.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.01892, allocations: 0 / 377.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01892, allocations: 4 kB / 377.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.01894, allocations: 0 / 377.8 MB, free: 4.539 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.002828/0.02177, allocations: 2.084 MB / 379.9 MB, free: 2.406 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.0218, allocations: 12.75 kB / 379.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.02362, allocations: 0.6598 MB / 380.6 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.02414, allocations: 457.3 kB / 381 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.02426, allocations: 201.7 kB / 381.2 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.02434, allocations: 67.95 kB / 381.3 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.02481, allocations: 442.9 kB / 381.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.02482, allocations: 0 / 381.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.02486, allocations: 20 kB / 381.7 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.02487, allocations: 16 kB / 381.8 MB, free: 500 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.02518, allocations: 217 kB / 382 MB, free: 284 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.002131/0.02731, allocations: 1.424 MB / 383.4 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.03105, allocations: 1.676 MB / 385.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.03125, allocations: 146.8 kB / 385.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.03131, allocations: 16.64 kB / 385.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.03165, allocations: 308 kB / 385.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 2.535e-06/0.03165, allocations: 4 kB / 385.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003542/0.03519, allocations: 1.74 MB / 387.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.03523, allocations: 60.06 kB / 387.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.03565, allocations: 0.6403 MB / 388 MB, free: 10.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.0357, allocations: 41.7 kB / 388 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.03583, allocations: 291 kB / 388.3 MB, free: 9.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.03599, allocations: 281.6 kB / 388.6 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.0362, allocations: 206.7 kB / 388.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.03629, allocations: 349.8 kB / 389.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.03661, allocations: 218.5 kB / 389.3 MB, free: 8.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.03699, allocations: 329.1 kB / 389.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.03767, allocations: 0.5941 MB / 390.2 MB, free: 7.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.03767, allocations: 0 / 390.2 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002455/0.04013, allocations: 1.424 MB / 391.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.04014, allocations: 11.94 kB / 391.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.04015, allocations: 0 / 391.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.0424, allocations: 0.8942 MB / 392.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.04289, allocations: 215.7 kB / 392.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.04599, allocations: 2.567 MB / 395.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.04646, allocations: 119.4 kB / 395.5 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.0465, allocations: 27.98 kB / 395.5 MB, free: 2.457 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.0002049/0.04671, allocations: 171.5 kB / 395.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.04681, allocations: 79.92 kB / 395.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.04861, allocations: 1.106 MB / 396.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.04861, allocations: 8 kB / 396.9 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.04862, allocations: 7.938 kB / 396.9 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.04863, allocations: 3.984 kB / 396.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.05115, allocations: 1.621 MB / 398.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.05115, allocations: 64 / 398.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.05146, allocations: 103.8 kB / 398.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.05156, allocations: 91.25 kB / 398.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.05336, allocations: 0.8089 MB / 399.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.0534, allocations: 19.98 kB / 399.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.05574, allocations: 2.177 MB / 401.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.05574, allocations: 0 / 401.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.05782, allocations: 1.313 MB / 403 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.05791, allocations: 23.98 kB / 403 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.05824, allocations: 51.95 kB / 403.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.05847, allocations: 136.4 kB / 403.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.05851, allocations: 20 kB / 403.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.05875, allocations: 324.5 kB / 403.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05875, allocations: 3.938 kB / 403.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006288/0.05938, allocations: 327.7 kB / 403.9 MB, free: 9.895 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.0001924/0.05957, allocations: 128.2 kB / 404 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.06117, allocations: 0.9902 MB / 405 MB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.06119, allocations: 15.98 kB / 405 MB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.0621, allocations: 0.6309 MB / 405.6 MB, free: 8.086 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.06244, allocations: 147.2 kB / 405.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.07005, allocations: 1.527 MB / 407.3 MB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.07018, allocations: 179.9 kB / 407.5 MB, free: 6.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.07044, allocations: 81.94 kB / 407.6 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.07067, allocations: 139.4 kB / 407.7 MB, free: 5.961 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.07067, allocations: 3.938 kB / 407.7 MB, free: 5.957 MB / 394.7 MB Notification: Performance of Templates: time 0.01985/0.09052, allocations: 18.1 MB / 425.8 MB, free: 4.004 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.684431627392769]