Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.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.0009461/0.0009461, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.9123/0.9123, allocations: 177.1 MB / 200.2 MB, free: 5.953 MB / 186.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.001386/0.001386, allocations: 160.6 kB / 256.7 MB, free: 13.35 MB / 250.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.2976/0.2976, allocations: 89.08 MB / 402.2 MB, free: 9.887 MB / 330.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.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim") translateModel(OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 0.5698 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.93e-05, allocations: 2.281 kB / 0.5698 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim): time 0.005552/0.005582, allocations: 6.641 MB / 0.5763 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004088/0.00967, allocations: 2.311 MB / 0.5785 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008745/0.01054, allocations: 19.94 kB / 0.5785 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.01129, allocations: 293.4 kB / 0.5788 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.01305, allocations: 0.9112 MB / 0.5797 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.01429, allocations: 0.7941 MB / 0.5805 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.01608, allocations: 1.884 MB / 0.5823 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.01657, allocations: 317.9 kB / 0.5826 GB, free: 232 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.01791, allocations: 1.067 MB / 0.5837 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009817/0.0189, allocations: 0.7243 MB / 0.5844 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000287/0.01918, allocations: 152 kB / 0.5845 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.01969, allocations: 295.8 kB / 0.5848 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.01993, allocations: 398.3 kB / 0.5852 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.02041, allocations: 0.5217 MB / 0.5857 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.02219, allocations: 2.087 MB / 0.5877 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.02219, allocations: 0 / 0.5877 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/0.02219, allocations: 0 / 0.5877 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.535e-05/0.02225, allocations: 0 / 0.5877 GB, free: 10.98 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005835/0.02808, allocations: 3.161 MB / 0.5908 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.02813, allocations: 8.031 kB / 0.5908 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.03077, allocations: 0.838 MB / 0.5916 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.03209, allocations: 0.9576 MB / 0.5926 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.03236, allocations: 442.3 kB / 0.593 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.03252, allocations: 107.9 kB / 0.5931 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.03432, allocations: 1.396 MB / 0.5945 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.03433, allocations: 4 kB / 0.5945 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.03441, allocations: 40 kB / 0.5945 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.03443, allocations: 20 kB / 0.5945 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.03615, allocations: 1.278 MB / 0.5958 GB, free: 2.547 MB / 0.5105 GB 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.241/0.2772, allocations: 3.478 MB / 0.5992 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006776/0.284, allocations: 3.345 MB / 0.6024 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.2851, allocations: 0.8079 MB / 0.6032 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/0.2852, allocations: 14.25 kB / 0.6032 GB, free: 77.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.2865, allocations: 1.058 MB / 0.6043 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 3.306e-06/0.2865, allocations: 0 / 0.6043 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.01699/0.3035, allocations: 7.555 MB / 0.6117 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3035, allocations: 121.9 kB / 0.6118 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.305, allocations: 1.186 MB / 0.6129 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.3052, allocations: 48.17 kB / 0.613 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.3056, allocations: 0.5971 MB / 0.6136 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.3059, allocations: 454.1 kB / 0.614 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.3063, allocations: 275 kB / 0.6143 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.237e-05/0.3063, allocations: 303 kB / 0.6145 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.3076, allocations: 0.9 MB / 0.6154 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3089, allocations: 1.063 MB / 0.6165 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/0.3217, allocations: 5.784 MB / 0.6221 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.3217, allocations: 2.969 kB / 0.6221 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008301/0.33, allocations: 4.583 MB / 0.6266 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.3301, allocations: 62.94 kB / 0.6266 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3301, allocations: 6.031 kB / 0.6267 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/0.3336, allocations: 1.813 MB / 0.6284 GB, free: 69.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.3346, allocations: 287.3 kB / 0.6287 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.3464, allocations: 8.108 MB / 0.6366 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.348, allocations: 246.2 kB / 0.6369 GB, free: 64.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3481, allocations: 52.77 kB / 0.6369 GB, free: 64.66 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: machine.e1q:VARIABLE(start = machine.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (avr.lagLimWindupGuard.inputLow,avr.lagLimWindupGuard.inputBelow,avr.lagLimWindupGuard.stateLow,avr.lagLimWindupGuard.inputHigh,avr.lagLimWindupGuard.inputAbove,avr.lagLimWindupGuard.stateHigh,avr.lagLimWindupGuard.atMin,$PRE.avr.lagLimWindupGuard.atMin,avr.lagLimWindupGuard.atMax,$PRE.avr.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0007352/0.3489, allocations: 337.3 kB / 0.6372 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.3491, allocations: 153.8 kB / 0.6374 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/0.3566, allocations: 4.279 MB / 0.6415 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3566, allocations: 10.94 kB / 0.6416 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3567, allocations: 10.91 kB / 0.6416 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.3567, allocations: 3.984 kB / 0.6416 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008536/0.3652, allocations: 5.475 MB / 0.6469 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3652, allocations: 1.641 kB / 0.6469 GB, free: 57.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.3656, allocations: 127.8 kB / 0.647 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/0.3687, allocations: 1.884 MB / 0.6489 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.3688, allocations: 27.98 kB / 0.6489 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009876/0.3787, allocations: 8.898 MB / 0.6576 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3787, allocations: 0 / 0.6576 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00835/0.387, allocations: 5.374 MB / 0.6628 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.3875, allocations: 176.3 kB / 0.663 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.3876, allocations: 28 kB / 0.663 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.3883, allocations: 151.8 kB / 0.6632 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.3889, allocations: 276.8 kB / 0.6635 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.3889, allocations: 32 kB / 0.6635 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007693/0.3897, allocations: 0.8015 MB / 0.6643 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.8e-07/0.3897, allocations: 0 / 0.6643 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001124/0.3908, allocations: 0.5173 MB / 0.6648 GB, free: 38.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (machine.delta,machine.w,machine.e1q,machine.e1d,avr.ExcitationSystem.x_scaled[1],avr.derivativeBlock.x,avr.firstOrder2.y,avr.lagLimWindupGuard.state,pss.derivativeLag.TF.x_scaled[1],pss.simpleLagLim.state) * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,avr.lagLimWindupGuard.atMax,avr.lagLimWindupGuard.atMin,avr.lagLimWindupGuard.stateHigh,avr.lagLimWindupGuard.inputAbove,avr.lagLimWindupGuard.inputHigh,avr.lagLimWindupGuard.stateLow,avr.lagLimWindupGuard.inputBelow,avr.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (avr.lagLimWindupGuard.atMax,avr.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(22,12), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.3911, allocations: 159.5 kB / 0.6649 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.3951, allocations: 2.823 MB / 0.6677 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3951, allocations: 0 / 0.6677 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.3978, allocations: 1.878 MB / 0.6695 GB, free: 34.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.3986, allocations: 134.4 kB / 0.6696 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.4018, allocations: 2.655 MB / 0.6722 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.4021, allocations: 0.6282 MB / 0.6728 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.4024, allocations: 100.5 kB / 0.6729 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/0.4024, allocations: 0 / 0.6729 GB, free: 30.47 MB / 0.5105 GB Notification: Performance of Templates: time 0.02464/0.427, allocations: 40.52 MB / 0.7125 GB, free: 5.926 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.PSS.PSSTypeI_SimpleLagLim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.711612216196954]