Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0009068/0.0009068, allocations: 93.06 kB / 19.65 MB, free: 280 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.9163/0.9163, allocations: 177.1 MB / 200 MB, free: 5.531 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.001176/0.001176, allocations: 156.4 kB / 256.6 MB, free: 13 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.2839/0.2839, allocations: 80.23 MB / 393.4 MB, free: 3.203 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 489.9 MB, free: 63.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.292e-05, allocations: 3.188 kB / 489.9 MB, free: 63.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01505/0.01508, allocations: 20.45 MB / 0.4984 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.02588, allocations: 4.879 MB / 0.5032 GB, free: 37.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/0.03008, allocations: 44 kB / 0.5032 GB, free: 37.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.03271, allocations: 0.8788 MB / 0.5041 GB, free: 36.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.03955, allocations: 2.399 MB / 0.5064 GB, free: 34.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.04319, allocations: 2.049 MB / 0.5084 GB, free: 32.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006126/0.04932, allocations: 5.846 MB / 0.5141 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.05082, allocations: 0.8771 MB / 0.515 GB, free: 25.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/0.05552, allocations: 3.339 MB / 0.5182 GB, free: 22.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.0578, allocations: 2.293 MB / 0.5205 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000698/0.0585, allocations: 440.7 kB / 0.5209 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.05964, allocations: 0.5984 MB / 0.5215 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.06017, allocations: 1.174 MB / 0.5226 GB, free: 17.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.06146, allocations: 1.725 MB / 0.5243 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.06558, allocations: 4.49 MB / 0.5287 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.06558, allocations: 0 / 0.5287 GB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.06559, allocations: 0.625 kB / 0.5287 GB, free: 11.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.06571, allocations: 0 / 0.5287 GB, free: 11.46 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.01626/0.08198, allocations: 10.13 MB / 0.5386 GB, free: 1.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.08202, allocations: 8.031 kB / 0.5386 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.09582, allocations: 4.792 MB / 0.5433 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/0.1001, allocations: 2.566 MB / 0.5458 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000593/0.1007, allocations: 1.005 MB / 0.5468 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/0.1013, allocations: 348 kB / 0.5471 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.1062, allocations: 3.14 MB / 0.5502 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.1062, allocations: 0 / 0.5502 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.1065, allocations: 136 kB / 0.5503 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.1065, allocations: 87.94 kB / 0.5504 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/0.1105, allocations: 2.033 MB / 0.5524 GB, free: 2.828 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.01721/0.1277, allocations: 12.24 MB / 0.5643 GB, free: 6.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.1319, allocations: 2.574 MB / 0.5668 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.1335, allocations: 1.212 MB / 0.568 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1338, allocations: 82.95 kB / 0.5681 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.1363, allocations: 1.847 MB / 0.5699 GB, free: 348 kB / 442.7 MB Notification: Performance of pre-optimization done (n=382): time 6.943e-06/0.1363, allocations: 0 / 0.5699 GB, free: 348 kB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.3638/0.5001, allocations: 56.27 MB / 0.6248 GB, free: 135.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.5001, allocations: 149 kB / 0.625 GB, free: 135.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.5034, allocations: 2.999 MB / 0.6279 GB, free: 134.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004643/0.5038, allocations: 86.8 kB / 0.628 GB, free: 134.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000929/0.5047, allocations: 2.062 MB / 0.63 GB, free: 134.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009803/0.5057, allocations: 1.377 MB / 0.6314 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008802/0.5066, allocations: 0.6858 MB / 0.632 GB, free: 134.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.5067, allocations: 480.7 kB / 0.6325 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.5084, allocations: 1.137 MB / 0.6336 GB, free: 133.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.5104, allocations: 1.961 MB / 0.6355 GB, free: 132.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/0.5158, allocations: 4.848 MB / 0.6402 GB, free: 128.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.5158, allocations: 4 kB / 0.6403 GB, free: 128.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02028/0.5361, allocations: 11.67 MB / 0.6517 GB, free: 116.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.5361, allocations: 69.58 kB / 0.6517 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.5362, allocations: 12 kB / 0.6517 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/0.5551, allocations: 7.59 MB / 0.6591 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.557, allocations: 0.6669 MB / 0.6598 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/0.5833, allocations: 13.99 MB / 0.6735 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.5866, allocations: 0.535 MB / 0.674 GB, free: 93.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003262/0.5869, allocations: 148 kB / 0.6741 GB, free: 93.64 MB / 490.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.001064/0.588, allocations: 409.9 kB / 0.6745 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/0.5887, allocations: 0.5906 MB / 0.6751 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/0.6088, allocations: 11.23 MB / 0.6861 GB, free: 81.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6088, allocations: 36 kB / 0.6861 GB, free: 81.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.6088, allocations: 32 kB / 0.6861 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.6089, allocations: 21.7 kB / 0.6861 GB, free: 81.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/0.6325, allocations: 14.38 MB / 0.7002 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.6325, allocations: 4.031 kB / 0.7002 GB, free: 66.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.6336, allocations: 387.5 kB / 0.7006 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02049/0.654, allocations: 7.683 MB / 0.7081 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/0.6544, allocations: 71.98 kB / 0.7081 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03136/0.6858, allocations: 15 MB / 0.7228 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6858, allocations: 3.938 kB / 0.7228 GB, free: 43.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03004/0.7158, allocations: 12.5 MB / 0.735 GB, free: 30.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.7171, allocations: 0.5016 MB / 0.7355 GB, free: 30.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006032/0.7177, allocations: 64 kB / 0.7355 GB, free: 30.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/0.7204, allocations: 295.7 kB / 0.7358 GB, free: 30.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002429/0.7228, allocations: 0.7723 MB / 0.7366 GB, free: 29.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/0.7231, allocations: 95.98 kB / 0.7367 GB, free: 29.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002114/0.7252, allocations: 1.769 MB / 0.7384 GB, free: 27.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7252, allocations: 3.828 kB / 0.7384 GB, free: 27.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004825/0.7301, allocations: 1.8 MB / 0.7401 GB, free: 25.77 MB / 490.7 MB 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.0005328/0.7306, allocations: 209.1 kB / 0.7403 GB, free: 25.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.7407, allocations: 6.094 MB / 0.7463 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7407, allocations: 0 / 0.7463 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00721/0.7479, allocations: 4.522 MB / 0.7507 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.7497, allocations: 451 kB / 0.7511 GB, free: 14.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/0.7579, allocations: 7.316 MB / 0.7583 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.7584, allocations: 0.7981 MB / 0.7591 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006481/0.759, allocations: 371.1 kB / 0.7594 GB, free: 5.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.7595, allocations: 256.4 kB / 0.7597 GB, free: 5.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.854e-06/0.7595, allocations: 0 / 0.7597 GB, free: 5.52 MB / 490.7 MB Notification: Performance of Templates: time 0.2743/1.034, allocations: 105.7 MB / 0.8629 GB, free: 136.3 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.537348670419306]