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.001137/0.001137, allocations: 93.06 kB / 19.65 MB, free: 272 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.9042/0.9042, allocations: 177.2 MB / 200 MB, free: 5.512 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.001305/0.001305, allocations: 167.9 kB / 256.6 MB, free: 12.98 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.3115/0.3115, allocations: 80.35 MB / 393.5 MB, free: 2.098 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.934e-06/1.934e-06, allocations: 0 / 490.1 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.95e-05, allocations: 2.312 kB / 490.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02073/0.02076, allocations: 20.44 MB / 0.4985 GB, free: 6.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.031, allocations: 4.887 MB / 0.5033 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.03365, allocations: 44 kB / 0.5034 GB, free: 1.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.03521, allocations: 0.8842 MB / 0.5042 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.03954, allocations: 2.342 MB / 0.5065 GB, free: 14.36 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.04335, allocations: 2.047 MB / 0.5085 GB, free: 12.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005574/0.04892, allocations: 5.85 MB / 0.5142 GB, free: 6.453 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.05183, allocations: 0.8765 MB / 0.5151 GB, free: 5.523 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.05535, allocations: 3.307 MB / 0.5183 GB, free: 2.207 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.05756, allocations: 2.293 MB / 0.5205 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005422/0.0581, allocations: 436 kB / 0.521 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000969/0.05907, allocations: 0.5974 MB / 0.5215 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007723/0.05984, allocations: 1.17 MB / 0.5227 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.06131, allocations: 1.736 MB / 0.5244 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.06545, allocations: 4.481 MB / 0.5288 GB, free: 7.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.06546, allocations: 4 kB / 0.5288 GB, free: 7.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06546, allocations: 0 / 0.5288 GB, free: 7.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.828e-05/0.0655, allocations: 0 / 0.5288 GB, free: 7.461 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.02906/0.09456, allocations: 10.14 MB / 0.5387 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.0946, allocations: 12.03 kB / 0.5387 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/0.1164, allocations: 4.792 MB / 0.5434 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.1211, allocations: 2.55 MB / 0.5458 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008337/0.1219, allocations: 1.017 MB / 0.5468 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/0.1225, allocations: 348 kB / 0.5472 GB, free: 4.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005486/0.128, allocations: 3.132 MB / 0.5502 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.128, allocations: 3.938 kB / 0.5502 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.1283, allocations: 144 kB / 0.5504 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.1283, allocations: 87.94 kB / 0.5505 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.1315, allocations: 2.029 MB / 0.5524 GB, free: 14.81 MB / 442.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.01512/0.1467, allocations: 12.25 MB / 0.5644 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1632/0.3098, allocations: 2.559 MB / 0.5669 GB, free: 83.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002649/0.3125, allocations: 1.215 MB / 0.5681 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.3128, allocations: 81.81 kB / 0.5682 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/0.3153, allocations: 1.845 MB / 0.57 GB, free: 83.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=382): time 7.304e-06/0.3153, allocations: 0 / 0.57 GB, free: 83.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.1325/0.4478, allocations: 56.28 MB / 0.6249 GB, free: 43.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.4479, allocations: 145.8 kB / 0.6251 GB, free: 43.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.4504, allocations: 2.992 MB / 0.628 GB, free: 40.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.4507, allocations: 93.48 kB / 0.6281 GB, free: 40.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008366/0.4515, allocations: 2.07 MB / 0.6301 GB, free: 40.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008397/0.4523, allocations: 1.373 MB / 0.6314 GB, free: 38.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008628/0.4532, allocations: 0.6866 MB / 0.6321 GB, free: 38.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.4532, allocations: 476.8 kB / 0.6326 GB, free: 37.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.4548, allocations: 1.14 MB / 0.6337 GB, free: 36.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4567, allocations: 1.963 MB / 0.6356 GB, free: 34.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005104/0.4618, allocations: 4.844 MB / 0.6403 GB, free: 29.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.4618, allocations: 4 kB / 0.6403 GB, free: 29.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02071/0.4825, allocations: 11.67 MB / 0.6517 GB, free: 17.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.4825, allocations: 63.41 kB / 0.6518 GB, free: 17.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.4825, allocations: 16 kB / 0.6518 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01962/0.5022, allocations: 7.596 MB / 0.6592 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.5042, allocations: 0.6553 MB / 0.6599 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02776/0.5319, allocations: 14.01 MB / 0.6735 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/0.5355, allocations: 0.5254 MB / 0.6741 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/0.5358, allocations: 152 kB / 0.6742 GB, free: 10.44 MB / 458.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.001109/0.5369, allocations: 407.9 kB / 0.6746 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007638/0.5376, allocations: 0.5829 MB / 0.6752 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/0.5597, allocations: 11.22 MB / 0.6861 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.5597, allocations: 36 kB / 0.6862 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/0.5597, allocations: 28 kB / 0.6862 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/0.5598, allocations: 19.92 kB / 0.6862 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/0.5862, allocations: 14.39 MB / 0.7003 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5862, allocations: 0 / 0.7003 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.5874, allocations: 391.4 kB / 0.7006 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02064/0.608, allocations: 7.669 MB / 0.7081 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/0.6085, allocations: 75.98 kB / 0.7082 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.027/0.6355, allocations: 15.01 MB / 0.7228 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6355, allocations: 3.938 kB / 0.7229 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/0.6613, allocations: 12.5 MB / 0.7351 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.6625, allocations: 0.5018 MB / 0.7355 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.6629, allocations: 64 kB / 0.7356 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.6648, allocations: 287.7 kB / 0.7359 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001831/0.6667, allocations: 0.78 MB / 0.7366 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.6668, allocations: 91.98 kB / 0.7367 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001766/0.6686, allocations: 1.773 MB / 0.7385 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6686, allocations: 0 / 0.7385 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003719/0.6723, allocations: 1.797 MB / 0.7402 GB, free: 6.551 MB / 0.5105 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.0007274/0.6731, allocations: 207.7 kB / 0.7404 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.6835, allocations: 6.093 MB / 0.7464 GB, free: 164 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6835, allocations: 4 kB / 0.7464 GB, free: 160 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00819/0.6917, allocations: 4.529 MB / 0.7508 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6935, allocations: 447.9 kB / 0.7512 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00956/0.7031, allocations: 7.316 MB / 0.7584 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.7036, allocations: 0.802 MB / 0.7591 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.7043, allocations: 367.1 kB / 0.7595 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.7049, allocations: 260.4 kB / 0.7597 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/0.7049, allocations: 0 / 0.7597 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of Templates: time 0.2414/0.9463, allocations: 103.2 MB / 0.8605 GB, free: 91.77 MB / 0.5261 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3636718462221324]