Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00149/0.00149, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.9852/0.9852, allocations: 177.2 MB / 201 MB, free: 5.715 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.001272/0.001272, allocations: 156.6 kB / 257.7 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.304/0.304, allocations: 80.24 MB / 394.5 MB, free: 3.035 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 491.2 MB, free: 62.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.68e-05, allocations: 2.312 kB / 491.2 MB, free: 62.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01295/0.01298, allocations: 19.93 MB / 0.4991 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.0237, allocations: 4.875 MB / 0.5039 GB, free: 37.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004144/0.02785, allocations: 44 kB / 0.5039 GB, free: 37.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.03069, allocations: 0.8769 MB / 0.5048 GB, free: 36.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.03753, allocations: 2.397 MB / 0.5071 GB, free: 34.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.04158, allocations: 2.052 MB / 0.5091 GB, free: 32.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008446/0.05003, allocations: 5.862 MB / 0.5148 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.05244, allocations: 0.8649 MB / 0.5157 GB, free: 25.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006655/0.0591, allocations: 3.339 MB / 0.5189 GB, free: 22.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.06231, allocations: 2.298 MB / 0.5212 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.06371, allocations: 436.7 kB / 0.5216 GB, free: 19.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.06549, allocations: 0.5935 MB / 0.5222 GB, free: 19.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008202/0.06631, allocations: 1.179 MB / 0.5233 GB, free: 17.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002494/0.06881, allocations: 1.725 MB / 0.525 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.07491, allocations: 4.493 MB / 0.5294 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.07492, allocations: 1.312 kB / 0.5294 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07492, allocations: 0 / 0.5294 GB, free: 11.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.07515, allocations: 0 / 0.5294 GB, free: 11.66 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01733/0.09248, allocations: 10.23 MB / 0.5394 GB, free: 1.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.09252, allocations: 8.031 kB / 0.5394 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.1071, allocations: 4.8 MB / 0.5441 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.1123, allocations: 2.488 MB / 0.5465 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007353/0.113, allocations: 1.021 MB / 0.5475 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.114, allocations: 351.9 kB / 0.5479 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/0.1185, allocations: 2.804 MB / 0.5506 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/0.1186, allocations: 4 kB / 0.5506 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.1189, allocations: 140 kB / 0.5507 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.1189, allocations: 87.94 kB / 0.5508 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.1215, allocations: 1.599 MB / 0.5524 GB, free: 3.742 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.01919/0.1407, allocations: 11.76 MB / 0.5639 GB, free: 7.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.1446, allocations: 2.308 MB / 0.5661 GB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.146, allocations: 0.9858 MB / 0.5671 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.1463, allocations: 78.95 kB / 0.5672 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/0.1482, allocations: 1.635 MB / 0.5687 GB, free: 2.453 MB / 442.7 MB Notification: Performance of pre-optimization done (n=383): time 8.476e-06/0.1483, allocations: 0 / 0.5687 GB, free: 2.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=383): time 0.3545/0.5028, allocations: 55.34 MB / 0.6228 GB, free: 133.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.5029, allocations: 143.8 kB / 0.6229 GB, free: 133.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.5057, allocations: 2.866 MB / 0.6257 GB, free: 133 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008256/0.5065, allocations: 93.14 kB / 0.6258 GB, free: 133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.5076, allocations: 2.138 MB / 0.6279 GB, free: 132.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.509, allocations: 1.39 MB / 0.6293 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.51, allocations: 0.7083 MB / 0.63 GB, free: 132.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.5101, allocations: 480.7 kB / 0.6304 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.5121, allocations: 1.017 MB / 0.6314 GB, free: 131.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/0.514, allocations: 1.864 MB / 0.6332 GB, free: 130.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.5192, allocations: 4.541 MB / 0.6377 GB, free: 129.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.5192, allocations: 3.312 kB / 0.6377 GB, free: 129.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.02268/0.5419, allocations: 11.28 MB / 0.6487 GB, free: 121.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.542, allocations: 63.41 kB / 0.6487 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.542, allocations: 12 kB / 0.6488 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/0.5623, allocations: 7.336 MB / 0.6559 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.5644, allocations: 0.6646 MB / 0.6566 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/0.5897, allocations: 13.11 MB / 0.6694 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.5936, allocations: 0.5316 MB / 0.6699 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/0.594, allocations: 120 kB / 0.67 GB, free: 99.46 MB / 490.7 MB 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.001276/0.5953, allocations: 407.9 kB / 0.6704 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.5964, allocations: 0.583 MB / 0.671 GB, free: 98.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/0.6167, allocations: 10.65 MB / 0.6814 GB, free: 87.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-05/0.6167, allocations: 36 kB / 0.6814 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/0.6167, allocations: 32 kB / 0.6814 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.572e-05/0.6168, allocations: 19.92 kB / 0.6814 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/0.6435, allocations: 13.35 MB / 0.6945 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/0.6435, allocations: 5.312 kB / 0.6945 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.6453, allocations: 391.5 kB / 0.6949 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02156/0.6668, allocations: 7.53 MB / 0.7022 GB, free: 66.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/0.668, allocations: 75.98 kB / 0.7023 GB, free: 66.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02473/0.6927, allocations: 14.52 MB / 0.7165 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.6927, allocations: 0 / 0.7165 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/0.7168, allocations: 11.66 MB / 0.7278 GB, free: 39.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.7182, allocations: 0.5002 MB / 0.7283 GB, free: 39.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/0.719, allocations: 68 kB / 0.7284 GB, free: 39.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.721, allocations: 288.6 kB / 0.7287 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/0.7228, allocations: 0.7723 MB / 0.7294 GB, free: 38.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/0.723, allocations: 67.98 kB / 0.7295 GB, free: 38.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.7242, allocations: 1.604 MB / 0.7311 GB, free: 36.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7242, allocations: 0 / 0.7311 GB, free: 36.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00445/0.7286, allocations: 1.8 MB / 0.7328 GB, free: 34.79 MB / 490.7 MB 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.0004642/0.7291, allocations: 202.1 kB / 0.733 GB, free: 34.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009597/0.7387, allocations: 5.629 MB / 0.7385 GB, free: 28.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7387, allocations: 0 / 0.7385 GB, free: 28.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008229/0.7469, allocations: 4.276 MB / 0.7427 GB, free: 24.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.7495, allocations: 456.7 kB / 0.7431 GB, free: 24.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.76, allocations: 7.331 MB / 0.7503 GB, free: 16.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007607/0.7608, allocations: 0.7981 MB / 0.7511 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.762, allocations: 371.1 kB / 0.7514 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008354/0.7628, allocations: 0.5021 MB / 0.7519 GB, free: 15.01 MB / 490.7 MB Notification: Performance of SimCode: time 3.186e-06/0.7628, allocations: 0 / 0.7519 GB, free: 15.01 MB / 490.7 MB Notification: Performance of Templates: time 0.2936/1.056, allocations: 108.2 MB / 0.8576 GB, free: 142.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.138285682071]