Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.0007285/0.0007285, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001619, allocations: 440 kB / 10.41 MB, free: 280 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.8757/0.8757, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1768/1.052, 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.001268/0.001268, allocations: 155.2 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.003045, allocations: 474.8 kB / 243.4 MB, free: 1.273 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.4652/0.4652, allocations: 89.19 MB / 333.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05071/0.5159, allocations: 30.21 MB / 363.5 MB, free: 3.055 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 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.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 365 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.224e-05, allocations: 6.031 kB / 365 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01344/0.01346, allocations: 20.24 MB / 385.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.02753, allocations: 5.371 MB / 390.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.03095, allocations: 44 kB / 390.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.03275, allocations: 0.9177 MB / 391.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.03765, allocations: 2.436 MB / 394 MB, free: 4.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.04092, allocations: 2.055 MB / 396.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005045/0.04597, allocations: 5.929 MB / 402 MB, free: 12.51 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009736/0.04694, allocations: 0.8964 MB / 402.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.05033, allocations: 4.064 MB / 407 MB, free: 7.391 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.052, allocations: 2.332 MB / 409.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.05242, allocations: 444 kB / 409.7 MB, free: 4.617 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008678/0.05328, allocations: 0.6207 MB / 410.4 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.05379, allocations: 0.8208 MB / 411.2 MB, free: 3.172 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.05483, allocations: 1.34 MB / 412.5 MB, free: 1.828 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.05784, allocations: 4.139 MB / 416.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.05785, allocations: 4 kB / 416.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05785, allocations: 0 / 416.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.05789, allocations: 0 / 416.7 MB, free: 13.67 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 901 * Number of variables: 901 Notification: Performance of Generate backend data structure: time 0.01358/0.07147, allocations: 10.46 MB / 427.1 MB, free: 3.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.0715, allocations: 8.031 kB / 427.1 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.08462, allocations: 5.13 MB / 432.3 MB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.08733, allocations: 1.803 MB / 434.1 MB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/0.08783, allocations: 0.963 MB / 435 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.08822, allocations: 355.9 kB / 435.4 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.09129, allocations: 2.903 MB / 438.3 MB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.09134, allocations: 3.938 kB / 438.3 MB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.09157, allocations: 140 kB / 438.4 MB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.09162, allocations: 99.92 kB / 438.5 MB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.09349, allocations: 1.375 MB / 439.9 MB, free: 6.039 MB / 426.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.01553/0.109, allocations: 9.525 MB / 449.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.1123, allocations: 2.14 MB / 451.6 MB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.1135, allocations: 0.8363 MB / 452.4 MB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.1138, allocations: 83.03 kB / 452.5 MB, free: 9.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001667/0.1154, allocations: 1.667 MB / 454.1 MB, free: 7.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=394): time 6.221e-06/0.1154, allocations: 4 kB / 454.1 MB, free: 7.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=394): time 0.1175/0.2329, allocations: 53.92 MB / 0.4961 GB, free: 1.215 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.233, allocations: 120.2 kB / 0.4963 GB, free: 1.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2199/0.4529, allocations: 2.727 MB / 0.4989 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009601/0.4539, allocations: 94.92 kB / 0.499 GB, free: 119.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.455, allocations: 1.322 MB / 0.5003 GB, free: 119.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001641/0.4567, allocations: 1.418 MB / 0.5017 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.4577, allocations: 0.6963 MB / 0.5024 GB, free: 118.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.4577, allocations: 310.7 kB / 0.5027 GB, free: 118.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.4594, allocations: 0.9582 MB / 0.5036 GB, free: 118.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.4615, allocations: 1.586 MB / 0.5052 GB, free: 117.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.4652, allocations: 3.101 MB / 0.5082 GB, free: 116.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-05/0.4652, allocations: 4.812 kB / 0.5082 GB, free: 116.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01972/0.4849, allocations: 10.61 MB / 0.5185 GB, free: 116.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.4851, allocations: 64.53 kB / 0.5186 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/0.4851, allocations: 15.69 kB / 0.5186 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01972/0.5048, allocations: 7.572 MB / 0.526 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.5076, allocations: 0.7912 MB / 0.5268 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.5305, allocations: 12.56 MB / 0.5391 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.5337, allocations: 0.5402 MB / 0.5396 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.534, allocations: 116 kB / 0.5397 GB, free: 100.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.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 (411): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,48,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001/0.535, allocations: 367.6 kB / 0.54 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.5356, allocations: 395.6 kB / 0.5404 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.5518, allocations: 9.996 MB / 0.5502 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.5518, allocations: 40 kB / 0.5502 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.5519, allocations: 29.75 kB / 0.5503 GB, free: 89.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.5519, allocations: 19.92 kB / 0.5503 GB, free: 89.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01953/0.5714, allocations: 11.88 MB / 0.5619 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.5714, allocations: 0 / 0.5619 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5725, allocations: 467.5 kB / 0.5623 GB, free: 77.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.5732, allocations: 440 kB / 0.5627 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01677/0.59, allocations: 7.528 MB / 0.5701 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/0.5903, allocations: 81 kB / 0.5702 GB, free: 69.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/0.6105, allocations: 12.93 MB / 0.5828 GB, free: 56.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6105, allocations: 0 / 0.5828 GB, free: 56.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/0.6282, allocations: 10.89 MB / 0.5934 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/0.6289, allocations: 64 kB / 0.5935 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.6306, allocations: 295.7 kB / 0.5938 GB, free: 44.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/0.6321, allocations: 0.7762 MB / 0.5945 GB, free: 43.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.6323, allocations: 71.98 kB / 0.5946 GB, free: 43.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.6333, allocations: 1.478 MB / 0.596 GB, free: 42.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6333, allocations: 0 / 0.596 GB, free: 42.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003643/0.637, allocations: 1.831 MB / 0.5978 GB, free: 40.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003993/0.6374, allocations: 189.1 kB / 0.598 GB, free: 40.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008876/0.6462, allocations: 5.394 MB / 0.6033 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-05/0.6463, allocations: 58.19 kB / 0.6033 GB, free: 34.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006563/0.6529, allocations: 4.136 MB / 0.6074 GB, free: 30.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.656, allocations: 1.458 MB / 0.6088 GB, free: 29.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/0.6953, allocations: 7.593 MB / 0.6162 GB, free: 21.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.6959, allocations: 0.8066 MB / 0.617 GB, free: 20.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001086/0.697, allocations: 384.2 kB / 0.6174 GB, free: 20.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008922/0.6979, allocations: 0.5188 MB / 0.6179 GB, free: 19.83 MB / 490.7 MB Notification: Performance of SimCode: time 2.495e-06/0.6979, allocations: 0 / 0.6179 GB, free: 19.83 MB / 490.7 MB Notification: Performance of Templates: time 0.2893/0.9872, allocations: 104 MB / 0.7195 GB, free: 171.5 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.683275938034058]