Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0009095/0.0009095, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1/1, allocations: 177.2 MB / 200.3 MB, free: 5.309 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.001454/0.001454, allocations: 164 kB / 257 MB, free: 12.77 MB / 250.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.4489/0.4489, allocations: 83.31 MB / 343.6 MB, free: 6.676 MB / 314.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.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 388.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.415e-05, allocations: 2.312 kB / 388.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01376/0.01379, allocations: 19.9 MB / 408 MB, free: 6.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.02656, allocations: 5.166 MB / 413.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00437/0.03093, allocations: 44 kB / 413.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.03421, allocations: 0.91 MB / 414.1 MB, free: 436 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00863/0.04283, allocations: 2.393 MB / 416.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.04772, allocations: 2.059 MB / 418.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008591/0.05632, allocations: 5.846 MB / 424.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.05841, allocations: 0.9078 MB / 425.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.06507, allocations: 3.335 MB / 428.7 MB, free: 1.754 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003688/0.06876, allocations: 2.313 MB / 431 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.07031, allocations: 436 kB / 431.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.07208, allocations: 0.6052 MB / 432 MB, free: 14.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009294/0.07301, allocations: 1.17 MB / 433.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002722/0.07573, allocations: 1.729 MB / 434.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.08264, allocations: 4.485 MB / 439.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.08265, allocations: 4 kB / 439.4 MB, free: 6.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08265, allocations: 0 / 439.4 MB, free: 6.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000233/0.08288, allocations: 0 / 439.4 MB, free: 6.984 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.2368/0.3196, allocations: 9.299 MB / 448.7 MB, free: 60.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3197, allocations: 11.69 kB / 448.7 MB, free: 60.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.3362, allocations: 5.129 MB / 453.8 MB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.3409, allocations: 1.782 MB / 455.6 MB, free: 59.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005841/0.3415, allocations: 1.014 MB / 456.6 MB, free: 58.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006215/0.3421, allocations: 348.1 kB / 457 MB, free: 58.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.3458, allocations: 2.877 MB / 459.8 MB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.3459, allocations: 6.094 kB / 459.8 MB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.3461, allocations: 143.2 kB / 460 MB, free: 58.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.3461, allocations: 88.28 kB / 460.1 MB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.3481, allocations: 1.341 MB / 461.4 MB, free: 56.99 MB / 410.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.01621/0.3643, allocations: 9.443 MB / 470.9 MB, free: 47.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/0.3672, allocations: 2.129 MB / 473 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009092/0.3681, allocations: 0.8159 MB / 473.8 MB, free: 44.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.3684, allocations: 82.05 kB / 473.9 MB, free: 44.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.3698, allocations: 1.639 MB / 475.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=382): time 7.054e-06/0.3698, allocations: 3.562 kB / 475.5 MB, free: 43.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.1216/0.4914, allocations: 54.47 MB / 0.5176 GB, free: 4.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4915, allocations: 145.8 kB / 0.5177 GB, free: 4.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.495, allocations: 2.719 MB / 0.5204 GB, free: 1.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.496, allocations: 89.7 kB / 0.5205 GB, free: 1.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/0.4968, allocations: 1.329 MB / 0.5217 GB, free: 408 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.4982, allocations: 1.38 MB / 0.5231 GB, free: 15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009394/0.4992, allocations: 0.6622 MB / 0.5237 GB, free: 14.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.4993, allocations: 301.1 kB / 0.524 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.5008, allocations: 0.9348 MB / 0.5249 GB, free: 13.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.503, allocations: 1.553 MB / 0.5265 GB, free: 11.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/0.5086, allocations: 4.233 MB / 0.5306 GB, free: 6.805 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.587e-05/0.5086, allocations: 8 kB / 0.5306 GB, free: 6.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02126/0.5299, allocations: 10.42 MB / 0.5408 GB, free: 12.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.53, allocations: 64.19 kB / 0.5408 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.53, allocations: 16.55 kB / 0.5409 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02039/0.5504, allocations: 7.385 MB / 0.5481 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.5534, allocations: 0.7431 MB / 0.5488 GB, free: 4.125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.5793, allocations: 11.94 MB / 0.5605 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/0.5833, allocations: 0.5364 MB / 0.561 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/0.584, allocations: 108 kB / 0.5611 GB, free: 7.473 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001377/0.5854, allocations: 363.1 kB / 0.5614 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.5865, allocations: 389.7 kB / 0.5618 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/0.6065, allocations: 10 MB / 0.5716 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/0.6065, allocations: 36 kB / 0.5716 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.072e-05/0.6066, allocations: 28 kB / 0.5716 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001201/0.6067, allocations: 19.92 kB / 0.5716 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/0.6351, allocations: 11.85 MB / 0.5832 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/0.6351, allocations: 0 / 0.5832 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.6367, allocations: 413.3 kB / 0.5836 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01906/0.6558, allocations: 7.465 MB / 0.5909 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008671/0.6566, allocations: 63.98 kB / 0.591 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02883/0.6855, allocations: 12.55 MB / 0.6032 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6855, allocations: 0 / 0.6032 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/0.7132, allocations: 10.82 MB / 0.6138 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.7146, allocations: 445 kB / 0.6142 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007755/0.7154, allocations: 60 kB / 0.6143 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.7173, allocations: 287.7 kB / 0.6145 GB, free: 272 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00193/0.7192, allocations: 0.7723 MB / 0.6153 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/0.7194, allocations: 67.98 kB / 0.6154 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001657/0.7211, allocations: 1.465 MB / 0.6168 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7211, allocations: 0 / 0.6168 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004283/0.7253, allocations: 1.799 MB / 0.6186 GB, free: 12.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/0.7258, allocations: 184.8 kB / 0.6187 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009833/0.7356, allocations: 5.366 MB / 0.624 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.386e-05/0.7357, allocations: 41.81 kB / 0.624 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007447/0.7431, allocations: 3.987 MB / 0.6279 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/0.7478, allocations: 448 kB / 0.6283 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.7607, allocations: 7.284 MB / 0.6354 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.7616, allocations: 0.8137 MB / 0.6362 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001259/0.7628, allocations: 371.1 kB / 0.6366 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/0.7638, allocations: 487.3 kB / 0.6371 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of SimCode: time 3.046e-06/0.7638, allocations: 3.938 kB / 0.6371 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.2815/1.045, allocations: 100.7 MB / 0.7354 GB, free: 116.4 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.939917327836156]