Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.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.001422/0.001422, 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.9382/0.9382, 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.00176/0.00176, allocations: 164.1 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.2991/0.2991, allocations: 89.09 MB / 402.2 MB, free: 9.898 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.AVR.AVRTypeII_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5698 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.131e-05, allocations: 2.281 kB / 0.5698 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard): time 0.004905/0.004926, allocations: 6.161 MB / 0.5758 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.007821, allocations: 2.062 MB / 0.5778 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.00824, allocations: 11.94 kB / 0.5778 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.00881, allocations: 257.7 kB / 0.5781 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.01027, allocations: 0.8651 MB / 0.5789 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.01116, allocations: 0.6764 MB / 0.5796 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001304/0.01247, allocations: 1.638 MB / 0.5812 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.01285, allocations: 261.7 kB / 0.5814 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.01371, allocations: 0.9272 MB / 0.5823 GB, free: 388 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.01428, allocations: 0.6386 MB / 0.583 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.01441, allocations: 124 kB / 0.5831 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.01475, allocations: 275.8 kB / 0.5834 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.01494, allocations: 334.5 kB / 0.5837 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.01524, allocations: 466.5 kB / 0.5841 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.0164, allocations: 1.791 MB / 0.5859 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.0164, allocations: 0 / 0.5859 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.0164, allocations: 0 / 0.5859 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.01642, allocations: 3.984 kB / 0.5859 GB, free: 12.76 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004426/0.02085, allocations: 2.723 MB / 0.5885 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.02088, allocations: 12.03 kB / 0.5885 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.02341, allocations: 0.8146 MB / 0.5893 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/0.02431, allocations: 0.823 MB / 0.5901 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.0245, allocations: 319.6 kB / 0.5904 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.02462, allocations: 91.98 kB / 0.5905 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.02608, allocations: 1.26 MB / 0.5918 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.0261, allocations: 0 / 0.5918 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.02616, allocations: 31.94 kB / 0.5918 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.02617, allocations: 31.94 kB / 0.5918 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.02761, allocations: 1.169 MB / 0.593 GB, free: 5.328 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.00393/0.03154, allocations: 3.103 MB / 0.596 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2344/0.266, allocations: 3.165 MB / 0.5991 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.2673, allocations: 0.754 MB / 0.5998 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/0.2674, allocations: 19.97 kB / 0.5998 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.2685, allocations: 0.9514 MB / 0.6008 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=113): time 2.785e-06/0.2685, allocations: 0 / 0.6008 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113): time 0.01557/0.2841, allocations: 7.356 MB / 0.608 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2842, allocations: 121 kB / 0.6081 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.2854, allocations: 1.022 MB / 0.6091 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.2855, allocations: 48.11 kB / 0.6091 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.2858, allocations: 0.5355 MB / 0.6096 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.2861, allocations: 403.3 kB / 0.61 GB, free: 76.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.2864, allocations: 256.9 kB / 0.6103 GB, free: 76.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.2864, allocations: 311.1 kB / 0.6106 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.2876, allocations: 0.8383 MB / 0.6114 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.2888, allocations: 1.003 MB / 0.6124 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.3006, allocations: 5.51 MB / 0.6177 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3006, allocations: 0 / 0.6177 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.008233/0.3088, allocations: 4.465 MB / 0.6221 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.3089, allocations: 63.55 kB / 0.6222 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3089, allocations: 6.594 kB / 0.6222 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.3126, allocations: 1.823 MB / 0.6239 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.3134, allocations: 249.3 kB / 0.6242 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.3277, allocations: 8.121 MB / 0.6321 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.3289, allocations: 209.3 kB / 0.6323 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.329, allocations: 49.77 kB / 0.6324 GB, free: 67.96 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: 14 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * 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.0005002/0.3295, allocations: 302.8 kB / 0.6327 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.3297, allocations: 140.8 kB / 0.6328 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009101/0.3388, allocations: 4.094 MB / 0.6368 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.3388, allocations: 11 kB / 0.6368 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3388, allocations: 5.375 kB / 0.6368 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3388, allocations: 9.344 kB / 0.6368 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009954/0.3488, allocations: 5.198 MB / 0.6419 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3488, allocations: 2.625 kB / 0.6419 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.3492, allocations: 108.8 kB / 0.642 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/0.3533, allocations: 1.869 MB / 0.6438 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-05/0.3533, allocations: 27.98 kB / 0.6438 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.3651, allocations: 8.886 MB / 0.6525 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3651, allocations: 0 / 0.6525 GB, free: 51.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007784/0.3729, allocations: 5.171 MB / 0.6576 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.3732, allocations: 153.9 kB / 0.6577 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.3733, allocations: 20 kB / 0.6577 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.3739, allocations: 123.9 kB / 0.6579 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.3743, allocations: 256.5 kB / 0.6581 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.3744, allocations: 32 kB / 0.6581 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005896/0.375, allocations: 0.6883 MB / 0.6588 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.375, allocations: 0 / 0.6588 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001055/0.376, allocations: 487.7 kB / 0.6593 GB, free: 44.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (machine.delta,machine.w,machine.e1q,machine.e1d,avr.ExcitationSystem.x_scaled[1],avr.derivativeBlock.x,avr.firstOrder2.y,avr.lagLimWindupGuard.state) * Number of discrete variables: 12 ($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 (78): * Single equations (assignments): 71 * 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.0002334/0.3762, allocations: 152.2 kB / 0.6594 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003584/0.3798, allocations: 2.691 MB / 0.662 GB, free: 41.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3798, allocations: 0 / 0.662 GB, free: 41.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.3823, allocations: 1.797 MB / 0.6638 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3828, allocations: 124.3 kB / 0.6639 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.3852, allocations: 2.334 MB / 0.6662 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3854, allocations: 0.5556 MB / 0.6667 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.3856, allocations: 88.48 kB / 0.6668 GB, free: 36.93 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.3856, allocations: 3.938 kB / 0.6668 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.01796/0.4036, allocations: 35.73 MB / 0.7017 GB, free: 1.188 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.608141499571502]