Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.0009/0.0009, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.9082/0.9082, allocations: 177.2 MB / 200 MB, free: 5.555 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.001136/0.001136, allocations: 155.1 kB / 256.6 MB, free: 13.02 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.2769/0.2769, allocations: 80.35 MB / 393.5 MB, free: 2.102 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 490.1 MB, free: 11.44 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.064e-05, allocations: 4.562 kB / 490.1 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01504/0.01507, allocations: 20.53 MB / 0.4986 GB, free: 6.836 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.02547, allocations: 4.879 MB / 0.5034 GB, free: 1.988 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.02801, allocations: 48.53 kB / 0.5034 GB, free: 1.941 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.0298, allocations: 0.8842 MB / 0.5043 GB, free: 1.051 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.03405, allocations: 2.342 MB / 0.5066 GB, free: 14.7 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.03714, allocations: 2.057 MB / 0.5086 GB, free: 12.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004495/0.04164, allocations: 5.858 MB / 0.5143 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009983/0.04264, allocations: 0.8649 MB / 0.5152 GB, free: 5.848 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.0455, allocations: 3.311 MB / 0.5184 GB, free: 2.527 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.04728, allocations: 2.289 MB / 0.5206 GB, free: 236 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.04775, allocations: 440 kB / 0.5211 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.04861, allocations: 0.5935 MB / 0.5216 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.04925, allocations: 1.17 MB / 0.5228 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.05041, allocations: 1.732 MB / 0.5245 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.05387, allocations: 4.485 MB / 0.5289 GB, free: 7.789 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.05388, allocations: 0 / 0.5289 GB, free: 7.789 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05388, allocations: 4 kB / 0.5289 GB, free: 7.785 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.646e-05/0.05392, allocations: 0 / 0.5289 GB, free: 7.785 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01483/0.06874, allocations: 10.12 MB / 0.5387 GB, free: 13.56 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.06879, allocations: 16.03 kB / 0.5388 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.0823, allocations: 4.792 MB / 0.5434 GB, free: 8.746 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.08508, allocations: 2.558 MB / 0.5459 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009338/0.08602, allocations: 1.017 MB / 0.5469 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.08642, allocations: 352 kB / 0.5473 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/0.09041, allocations: 3.132 MB / 0.5503 GB, free: 1.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.09045, allocations: 7.938 kB / 0.5503 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.09072, allocations: 140 kB / 0.5505 GB, free: 1.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.09077, allocations: 87.94 kB / 0.5505 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/0.09403, allocations: 2.037 MB / 0.5525 GB, free: 15.12 MB / 490.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.01916/0.1132, allocations: 12.28 MB / 0.5645 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/0.1186, allocations: 2.574 MB / 0.567 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.1209, allocations: 1.216 MB / 0.5682 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.1212, allocations: 82.94 kB / 0.5683 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002904/0.1241, allocations: 1.857 MB / 0.5701 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 6.613e-06/0.1241, allocations: 0 / 0.5701 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.3341/0.4583, allocations: 56.14 MB / 0.625 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.4583, allocations: 144.4 kB / 0.6251 GB, free: 149.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.461, allocations: 2.981 MB / 0.628 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.4612, allocations: 99.27 kB / 0.6281 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000862/0.4621, allocations: 2.067 MB / 0.6301 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008746/0.4629, allocations: 1.376 MB / 0.6315 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008934/0.4638, allocations: 0.6893 MB / 0.6321 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.505e-05/0.4639, allocations: 480.6 kB / 0.6326 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.4655, allocations: 1.141 MB / 0.6337 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4674, allocations: 1.96 MB / 0.6356 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/0.4727, allocations: 4.892 MB / 0.6404 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.4727, allocations: 4 kB / 0.6404 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02082/0.4936, allocations: 11.67 MB / 0.6518 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.4936, allocations: 65.12 kB / 0.6519 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.4936, allocations: 12.66 kB / 0.6519 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/0.5121, allocations: 7.443 MB / 0.6591 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.5139, allocations: 0.6631 MB / 0.6598 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/0.5401, allocations: 13.68 MB / 0.6731 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/0.5434, allocations: 0.5326 MB / 0.6737 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/0.5437, allocations: 148 kB / 0.6738 GB, free: 107.3 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (398): * Single equations (assignments): 395 * 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,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.5447, allocations: 419.4 kB / 0.6742 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/0.5453, allocations: 0.5828 MB / 0.6748 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/0.5655, allocations: 11.24 MB / 0.6857 GB, free: 94.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5655, allocations: 36 kB / 0.6858 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.5656, allocations: 28 kB / 0.6858 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.5656, allocations: 23.86 kB / 0.6858 GB, free: 94.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/0.5892, allocations: 14.4 MB / 0.6999 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5892, allocations: 2.906 kB / 0.6999 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.5902, allocations: 383.5 kB / 0.7003 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01893/0.6092, allocations: 7.638 MB / 0.7077 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003379/0.6095, allocations: 69.19 kB / 0.7078 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02506/0.6346, allocations: 15.01 MB / 0.7224 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6346, allocations: 7.938 kB / 0.7225 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/0.6582, allocations: 12.5 MB / 0.7347 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6592, allocations: 0.503 MB / 0.7352 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.6596, allocations: 64 kB / 0.7352 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.6613, allocations: 283.7 kB / 0.7355 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/0.6629, allocations: 0.7761 MB / 0.7362 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.6631, allocations: 95.98 kB / 0.7363 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001442/0.6646, allocations: 1.769 MB / 0.7381 GB, free: 41.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.6646, allocations: 4 kB / 0.7381 GB, free: 41.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003277/0.6679, allocations: 1.791 MB / 0.7398 GB, free: 39.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004455/0.6683, allocations: 206.6 kB / 0.74 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009623/0.6779, allocations: 5.977 MB / 0.7458 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6779, allocations: 0 / 0.7458 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007058/0.685, allocations: 4.488 MB / 0.7502 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.6865, allocations: 454.4 kB / 0.7507 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008716/0.6952, allocations: 7.345 MB / 0.7578 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.6957, allocations: 0.8026 MB / 0.7586 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.6963, allocations: 367.1 kB / 0.759 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.6969, allocations: 260.4 kB / 0.7592 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/0.6969, allocations: 0 / 0.7592 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.2551/0.9519, allocations: 101.9 MB / 0.8587 GB, free: 124.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.473569551017135]