Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0007171/0.0007171, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009087/0.001626, 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.8926/0.8926, allocations: 177.1 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1673/1.06, allocations: 53.65 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.0008121/0.0008121, allocations: 149.1 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001855, allocations: 481.6 kB / 243.2 MB, free: 1.422 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.4223/0.4223, allocations: 89.06 MB / 333 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04491/0.4672, allocations: 30.2 MB / 363.2 MB, free: 3.184 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.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 364.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.315e-05, allocations: 2.312 kB / 364.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004192/0.004205, allocations: 5.273 MB / 369.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.006384, allocations: 1.971 MB / 371.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.006613, allocations: 11.94 kB / 371.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.006857, allocations: 178.5 kB / 372 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008726/0.007729, allocations: 0.7378 MB / 372.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.008238, allocations: 498.7 kB / 373.2 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.009142, allocations: 1.308 MB / 374.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.00935, allocations: 177.4 kB / 374.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.01001, allocations: 0.9011 MB / 375.6 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.01043, allocations: 0.5102 MB / 376.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.74e-05/0.01053, allocations: 120 kB / 376.2 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.01082, allocations: 283.7 kB / 376.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.01094, allocations: 191.4 kB / 376.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.01114, allocations: 291.4 kB / 376.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.01183, allocations: 0.8952 MB / 377.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.01184, allocations: 0 / 377.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01184, allocations: 0 / 377.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.01186, allocations: 0 / 377.8 MB, free: 4.551 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.002712/0.01457, allocations: 2.086 MB / 379.9 MB, free: 2.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.0146, allocations: 15.97 kB / 379.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.01646, allocations: 0.6599 MB / 380.6 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.01695, allocations: 457.2 kB / 381 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.01706, allocations: 197.8 kB / 381.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.01714, allocations: 63.98 kB / 381.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.01759, allocations: 438.9 kB / 381.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.0176, allocations: 0 / 381.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.01764, allocations: 20 kB / 381.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.01765, allocations: 20 kB / 381.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.01794, allocations: 229 kB / 382 MB, free: 288 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.002061/0.02, allocations: 1.409 MB / 383.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.02369, allocations: 1.68 MB / 385.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.02387, allocations: 160.8 kB / 385.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.02393, allocations: 12.66 kB / 385.2 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.02425, allocations: 308.1 kB / 385.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 1.983e-06/0.02425, allocations: 0 / 385.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003802/0.02805, allocations: 1.88 MB / 387.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.02808, allocations: 64.05 kB / 387.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.0286, allocations: 0.6442 MB / 388.1 MB, free: 10.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.02865, allocations: 41.7 kB / 388.2 MB, free: 9.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.02878, allocations: 294.9 kB / 388.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.02893, allocations: 281.6 kB / 388.7 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.02913, allocations: 202.8 kB / 388.9 MB, free: 9.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.02921, allocations: 345.9 kB / 389.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.02951, allocations: 206.5 kB / 389.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.02987, allocations: 337.1 kB / 389.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.03051, allocations: 0.5706 MB / 390.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.03051, allocations: 0 / 390.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00236/0.03287, allocations: 1.4 MB / 391.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.03289, allocations: 7.938 kB / 391.8 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.0329, allocations: 3.984 kB / 391.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/0.03504, allocations: 0.9021 MB / 392.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.0355, allocations: 199.7 kB / 392.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.03858, allocations: 2.588 MB / 395.5 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.03899, allocations: 119.4 kB / 395.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.03903, allocations: 27.98 kB / 395.6 MB, free: 2.359 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.0001665/0.0392, allocations: 175.5 kB / 395.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.03929, allocations: 75.92 kB / 395.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.04104, allocations: 1.106 MB / 397 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.04105, allocations: 8 kB / 397 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.04105, allocations: 7.938 kB / 397 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.04106, allocations: 3.984 kB / 397 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.04343, allocations: 1.617 MB / 398.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.04343, allocations: 4.062 kB / 398.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.04372, allocations: 99.88 kB / 398.7 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.04381, allocations: 87.27 kB / 398.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.04555, allocations: 0.8086 MB / 399.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.04559, allocations: 19.98 kB / 399.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.04797, allocations: 2.166 MB / 401.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.04798, allocations: 4 kB / 401.8 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.05022, allocations: 1.321 MB / 403.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.0503, allocations: 16 kB / 403.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.05061, allocations: 59.94 kB / 403.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.05081, allocations: 132.4 kB / 403.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.05084, allocations: 20 kB / 403.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.05107, allocations: 324.5 kB / 403.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05107, allocations: 0 / 403.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005321/0.0516, allocations: 335.7 kB / 404 MB, free: 9.809 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.0001906/0.05179, allocations: 120.2 kB / 404.1 MB, free: 9.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.05327, allocations: 0.9902 MB / 405.1 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.05328, allocations: 16 kB / 405.1 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.05416, allocations: 0.6426 MB / 405.7 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.0545, allocations: 154.2 kB / 405.9 MB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.06172, allocations: 1.523 MB / 407.4 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.06184, allocations: 179.9 kB / 407.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.06202, allocations: 82.02 kB / 407.7 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.06223, allocations: 147.4 kB / 407.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.06223, allocations: 0 / 407.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of Templates: time 0.01823/0.08046, allocations: 18.18 MB / 426 MB, free: 3.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8350927140563726]