Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.0009912/0.0009912, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002474, 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.9/0.9, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1927/1.093, allocations: 53.65 MB / 242 MB, free: 2.602 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.001256/0.001256, allocations: 152.8 kB / 242.9 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002689, allocations: 483.6 kB / 243.4 MB, free: 1.258 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.4338/0.4338, allocations: 89.12 MB / 333.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05003/0.4838, allocations: 30.21 MB / 363.5 MB, free: 3.07 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.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 364.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.511e-05, allocations: 2.312 kB / 364.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004861/0.004886, allocations: 5.267 MB / 370 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.008451, allocations: 1.971 MB / 372 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.009033, allocations: 11.94 kB / 372 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.009442, allocations: 182.4 kB / 372.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.0108, allocations: 0.7507 MB / 373 MB, free: 9.617 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.01155, allocations: 482.9 kB / 373.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.01292, allocations: 1.316 MB / 374.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.01322, allocations: 177.5 kB / 374.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.0142, allocations: 0.9049 MB / 375.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.01476, allocations: 0.5063 MB / 376.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.01491, allocations: 120 kB / 376.4 MB, free: 6.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.01537, allocations: 275.8 kB / 376.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.0155, allocations: 191.4 kB / 376.9 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.01573, allocations: 291.4 kB / 377.2 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.01661, allocations: 0.899 MB / 378.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.01663, allocations: 0 / 378.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.01663, allocations: 0 / 378.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.01665, allocations: 4 kB / 378.1 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.002868/0.01952, allocations: 2.094 MB / 380.2 MB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.01955, allocations: 8.031 kB / 380.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.02128, allocations: 0.656 MB / 380.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.02183, allocations: 457.2 kB / 381.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.0221, allocations: 197.8 kB / 381.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.02219, allocations: 67.97 kB / 381.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.02268, allocations: 442.9 kB / 382 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.0227, allocations: 4 kB / 382 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.02274, allocations: 20 kB / 382 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.02275, allocations: 16 kB / 382 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.02305, allocations: 225 kB / 382.2 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.002084/0.02513, allocations: 1.409 MB / 383.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.02884, allocations: 1.677 MB / 385.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.02905, allocations: 156.7 kB / 385.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.02912, allocations: 12.66 kB / 385.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.02949, allocations: 312 kB / 385.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 3.577e-06/0.0295, allocations: 0 / 385.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003941/0.03344, allocations: 1.892 MB / 387.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.03347, allocations: 67.98 kB / 387.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.03396, allocations: 0.6442 MB / 388.4 MB, free: 9.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.03401, allocations: 37.7 kB / 388.4 MB, free: 9.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.03432, allocations: 294.9 kB / 388.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.03449, allocations: 281.6 kB / 389 MB, free: 9.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.0347, allocations: 198.8 kB / 389.2 MB, free: 9.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.03478, allocations: 353.9 kB / 389.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.03509, allocations: 202.6 kB / 389.7 MB, free: 8.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.03545, allocations: 337 kB / 390.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/0.03615, allocations: 0.598 MB / 390.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.03616, allocations: 0 / 390.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002484/0.03864, allocations: 1.404 MB / 392.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.03866, allocations: 7.938 kB / 392.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.03867, allocations: 4 kB / 392.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.04097, allocations: 0.9137 MB / 393 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.04147, allocations: 207.6 kB / 393.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.04491, allocations: 2.626 MB / 395.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.04546, allocations: 119.4 kB / 395.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.04551, allocations: 27.98 kB / 396 MB, free: 2.148 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 (117): * Single equations (assignments): 114 * 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.0002328/0.04574, allocations: 171.5 kB / 396.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.04586, allocations: 79.91 kB / 396.2 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/0.04772, allocations: 1.106 MB / 397.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.04773, allocations: 8 kB / 397.3 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.04774, allocations: 7.938 kB / 397.3 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.04774, allocations: 3.984 kB / 397.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.05025, allocations: 1.617 MB / 399 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.05025, allocations: 4 kB / 399 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.05055, allocations: 98.33 kB / 399.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.05066, allocations: 87.25 kB / 399.1 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.05245, allocations: 0.8245 MB / 400 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.0525, allocations: 16 kB / 400 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.05493, allocations: 2.229 MB / 402.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.05493, allocations: 0 / 402.2 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.0571, allocations: 1.329 MB / 403.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.05719, allocations: 16 kB / 403.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.05752, allocations: 59.95 kB / 403.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.05775, allocations: 136.3 kB / 403.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.05779, allocations: 23.98 kB / 403.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002355/0.05803, allocations: 324.5 kB / 404.1 MB, free: 9.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05803, allocations: 0 / 404.1 MB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.05869, allocations: 331.7 kB / 404.4 MB, free: 9.516 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.lagLimWindupGuard.state) * 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.0002068/0.0589, allocations: 120.3 kB / 404.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.06047, allocations: 0.9993 MB / 405.5 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.06049, allocations: 15.98 kB / 405.5 MB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.06144, allocations: 0.6715 MB / 406.2 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.06189, allocations: 271.9 kB / 406.5 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.06916, allocations: 1.512 MB / 408 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.06931, allocations: 180 kB / 408.2 MB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.06958, allocations: 82.17 kB / 408.2 MB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.06982, allocations: 159.4 kB / 408.4 MB, free: 5.406 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.06982, allocations: 4 kB / 408.4 MB, free: 5.402 MB / 394.7 MB Notification: Performance of Templates: time 0.02102/0.09084, allocations: 18.83 MB / 427.2 MB, free: 2.738 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.865657209418714]