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.001524/0.001524, 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.9445/0.9445, allocations: 177.2 MB / 200 MB, free: 5.547 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.001357/0.001357, allocations: 156.6 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.2797/0.2797, allocations: 83.27 MB / 396.4 MB, free: 15.21 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 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 2.425e-06/2.425e-06, allocations: 0 / 494 MB, free: 7.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.591e-05, allocations: 3 kB / 494 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01886/0.01889, allocations: 20.54 MB / 0.5025 GB, free: 2.609 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009349/0.02823, allocations: 4.883 MB / 0.5073 GB, free: 13.76 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.02997, allocations: 44.66 kB / 0.5073 GB, free: 13.72 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.03134, allocations: 0.8851 MB / 0.5082 GB, free: 12.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.03545, allocations: 2.391 MB / 0.5105 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.03888, allocations: 2.06 MB / 0.5125 GB, free: 8.383 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004591/0.04347, allocations: 5.85 MB / 0.5182 GB, free: 2.508 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009748/0.04444, allocations: 0.861 MB / 0.5191 GB, free: 1.594 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.04719, allocations: 3.343 MB / 0.5223 GB, free: 14.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.04891, allocations: 2.289 MB / 0.5246 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.04935, allocations: 436 kB / 0.525 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.05025, allocations: 0.5974 MB / 0.5256 GB, free: 10.92 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006367/0.05089, allocations: 1.178 MB / 0.5267 GB, free: 9.738 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.052, allocations: 1.725 MB / 0.5284 GB, free: 8.008 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.05556, allocations: 4.501 MB / 0.5328 GB, free: 3.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05557, allocations: 0 / 0.5328 GB, free: 3.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05557, allocations: 3.938 kB / 0.5328 GB, free: 3.484 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.05561, allocations: 0 / 0.5328 GB, free: 3.484 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.01488/0.07049, allocations: 10.12 MB / 0.5427 GB, free: 9.262 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.07054, allocations: 8.031 kB / 0.5427 GB, free: 9.254 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.08398, allocations: 4.796 MB / 0.5474 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.08679, allocations: 2.562 MB / 0.5499 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/0.08744, allocations: 1.013 MB / 0.5509 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004011/0.08784, allocations: 351.9 kB / 0.5512 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.09188, allocations: 3.14 MB / 0.5543 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.09192, allocations: 0 / 0.5543 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.0922, allocations: 148 kB / 0.5544 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.09224, allocations: 87.94 kB / 0.5545 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.09544, allocations: 2.033 MB / 0.5565 GB, free: 10.83 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.01462/0.1101, allocations: 12.25 MB / 0.5684 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.1141, allocations: 2.571 MB / 0.5709 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.1158, allocations: 1.214 MB / 0.5721 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.1161, allocations: 90.94 kB / 0.5722 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002202/0.1183, allocations: 1.847 MB / 0.574 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 5.62e-06/0.1183, allocations: 0 / 0.574 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.3436/0.4619, allocations: 56.14 MB / 0.6289 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.4619, allocations: 148 kB / 0.629 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.4649, allocations: 2.987 MB / 0.6319 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.4653, allocations: 88.58 kB / 0.632 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.4663, allocations: 2.069 MB / 0.634 GB, free: 142 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.4674, allocations: 1.38 MB / 0.6354 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.4682, allocations: 0.693 MB / 0.636 GB, free: 141 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.4683, allocations: 480.6 kB / 0.6365 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.4698, allocations: 1.137 MB / 0.6376 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.4717, allocations: 1.979 MB / 0.6395 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005244/0.4769, allocations: 4.882 MB / 0.6443 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.4769, allocations: 8 kB / 0.6443 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02051/0.4975, allocations: 11.66 MB / 0.6557 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.4975, allocations: 67.39 kB / 0.6558 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.4975, allocations: 16 kB / 0.6558 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/0.5164, allocations: 7.441 MB / 0.663 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.5184, allocations: 0.6599 MB / 0.6637 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/0.5437, allocations: 13.67 MB / 0.677 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/0.5468, allocations: 0.5314 MB / 0.6776 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.547, allocations: 152 kB / 0.6777 GB, free: 99.36 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.001036/0.548, allocations: 414.5 kB / 0.6781 GB, free: 98.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006797/0.5487, allocations: 0.5791 MB / 0.6787 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02062/0.5693, allocations: 11.24 MB / 0.6896 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.5693, allocations: 36 kB / 0.6897 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/0.5694, allocations: 28 kB / 0.6897 GB, free: 86.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.5694, allocations: 19.88 kB / 0.6897 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/0.5935, allocations: 14.4 MB / 0.7038 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5935, allocations: 0 / 0.7038 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.5946, allocations: 391.5 kB / 0.7042 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0196/0.6142, allocations: 7.636 MB / 0.7116 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/0.6147, allocations: 75.98 kB / 0.7117 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/0.6397, allocations: 15.01 MB / 0.7264 GB, free: 49.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6397, allocations: 7.672 kB / 0.7264 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02405/0.6637, allocations: 12.51 MB / 0.7386 GB, free: 36.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.665, allocations: 0.4988 MB / 0.7391 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005341/0.6655, allocations: 60 kB / 0.7391 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.6675, allocations: 291.7 kB / 0.7394 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001765/0.6693, allocations: 0.7761 MB / 0.7402 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.6695, allocations: 95.98 kB / 0.7403 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001523/0.671, allocations: 1.765 MB / 0.742 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.671, allocations: 0 / 0.742 GB, free: 33.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003393/0.6744, allocations: 1.795 MB / 0.7437 GB, free: 31.49 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.0004275/0.6748, allocations: 206.6 kB / 0.7439 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009702/0.6845, allocations: 5.967 MB / 0.7498 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6845, allocations: 0 / 0.7498 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008695/0.6932, allocations: 4.509 MB / 0.7542 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.6956, allocations: 459.3 kB / 0.7546 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.707, allocations: 7.344 MB / 0.7618 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.7076, allocations: 0.802 MB / 0.7625 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009715/0.7086, allocations: 379.1 kB / 0.7629 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.7092, allocations: 260.4 kB / 0.7632 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.944e-06/0.7092, allocations: 0 / 0.7632 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.2884/0.9976, allocations: 104.4 MB / 0.8651 GB, free: 141.9 MB / 0.5417 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.237671729177237]