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.0007654/0.0007654, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009667/0.001732, 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.8955/0.8955, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.174/1.069, allocations: 53.64 MB / 241.9 MB, free: 2.738 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.001442/0.001442, allocations: 148 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002964, allocations: 483.1 kB / 243.2 MB, free: 1.422 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.4994/0.4994, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05158/0.551, allocations: 30.21 MB / 363.1 MB, free: 3.223 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.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 2.004e-06/2.004e-06, allocations: 0 / 364.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.746e-05, allocations: 2.312 kB / 364.4 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB_AVR): time 0.004807/0.004835, allocations: 5.256 MB / 369.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.007738, allocations: 1.978 MB / 371.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.008053, allocations: 11.94 kB / 371.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.008333, allocations: 182.4 kB / 371.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.009425, allocations: 0.7444 MB / 372.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.01009, allocations: 478.8 kB / 373.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.01126, allocations: 1.312 MB / 374.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.01152, allocations: 185.4 kB / 374.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.01249, allocations: 0.9049 MB / 375.5 MB, free: 6.863 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.01297, allocations: 0.5063 MB / 376 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01309, allocations: 120 kB / 376.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.0135, allocations: 275.7 kB / 376.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01363, allocations: 191.4 kB / 376.6 MB, free: 5.781 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.01385, allocations: 283.4 kB / 376.8 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.01461, allocations: 0.9068 MB / 377.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.01462, allocations: 0 / 377.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01463, allocations: 3.938 kB / 377.7 MB, free: 4.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.01464, allocations: 8 kB / 377.7 MB, free: 4.582 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.002842/0.01748, allocations: 2.082 MB / 379.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.01751, allocations: 8.031 kB / 379.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.01915, allocations: 0.656 MB / 380.5 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.01969, allocations: 465.2 kB / 380.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.01982, allocations: 193.8 kB / 381.1 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.0199, allocations: 60 kB / 381.2 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.0205, allocations: 442.9 kB / 381.6 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.02051, allocations: 7.984 kB / 381.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.02055, allocations: 24 kB / 381.7 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.02056, allocations: 15.94 kB / 381.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.02085, allocations: 221 kB / 381.9 MB, free: 332 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.002197/0.02305, allocations: 1.42 MB / 383.3 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.02681, allocations: 1.676 MB / 385 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.02701, allocations: 150.8 kB / 385.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.02707, allocations: 12.66 kB / 385.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.0274, allocations: 304.1 kB / 385.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 2.565e-06/0.02741, allocations: 7.938 kB / 385.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003958/0.03136, allocations: 1.888 MB / 387.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.03139, allocations: 60.06 kB / 387.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.0318, allocations: 0.6481 MB / 388 MB, free: 10.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.03185, allocations: 41.7 kB / 388.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.03199, allocations: 294.9 kB / 388.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.03222, allocations: 281.6 kB / 388.7 MB, free: 9.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.03242, allocations: 198.8 kB / 388.8 MB, free: 9.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.0325, allocations: 349.9 kB / 389.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.0328, allocations: 202.6 kB / 389.4 MB, free: 8.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.03316, allocations: 329.1 kB / 389.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.0338, allocations: 0.5784 MB / 390.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.0338, allocations: 0 / 390.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002344/0.03614, allocations: 1.4 MB / 391.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.03616, allocations: 7.938 kB / 391.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.03617, allocations: 8 kB / 391.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.03831, allocations: 0.8955 MB / 392.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.03877, allocations: 211.7 kB / 392.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.04185, allocations: 2.575 MB / 395.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.0423, allocations: 119.4 kB / 395.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.04235, allocations: 24 kB / 395.5 MB, free: 2.402 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.0001871/0.04253, allocations: 179.5 kB / 395.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.04263, allocations: 79.92 kB / 395.8 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.04453, allocations: 1.098 MB / 396.9 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.04454, allocations: 8 kB / 396.9 MB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.04454, allocations: 7.938 kB / 396.9 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.04455, allocations: 7.984 kB / 396.9 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.04698, allocations: 1.617 MB / 398.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.04699, allocations: 0 / 398.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.04728, allocations: 108.5 kB / 398.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.04737, allocations: 83.27 kB / 398.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.04908, allocations: 0.8055 MB / 399.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.04911, allocations: 15.98 kB / 399.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.05131, allocations: 2.175 MB / 401.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.05132, allocations: 7.922 kB / 401.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.05336, allocations: 1.313 MB / 403 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.05343, allocations: 16 kB / 403 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.05373, allocations: 59.94 kB / 403.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.05393, allocations: 136.4 kB / 403.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.05396, allocations: 15.94 kB / 403.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.05419, allocations: 332.5 kB / 403.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05419, allocations: 0 / 403.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000534/0.05472, allocations: 335.7 kB / 403.9 MB, free: 9.84 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.000184/0.05491, allocations: 112.3 kB / 404 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.05637, allocations: 0.9863 MB / 405 MB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.05638, allocations: 16 kB / 405 MB, free: 8.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008665/0.05725, allocations: 0.6387 MB / 405.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.05757, allocations: 154 kB / 405.8 MB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.06484, allocations: 1.538 MB / 407.3 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.06496, allocations: 175.9 kB / 407.5 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.06515, allocations: 86.02 kB / 407.6 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.06537, allocations: 147.3 kB / 407.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.06537, allocations: 0 / 407.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of Templates: time 0.0189/0.08427, allocations: 18.19 MB / 425.9 MB, free: 3.855 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.869453076273203]