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.001378/0.001378, allocations: 88.72 kB / 19.44 MB, free: 356 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 1.512/1.512, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 MB " [Timeout remaining time 178] 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.001567/0.001567, allocations: 160.6 kB / 256.3 MB, free: 13.18 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.461/0.461, allocations: 80.38 MB / 393.1 MB, free: 2.156 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.733e-06/1.733e-06, allocations: 0 / 489.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.272e-05, allocations: 2.312 kB / 489.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02506/0.0251, allocations: 18.51 MB / 0.496 GB, free: 9.188 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.04072, allocations: 4.835 MB / 0.5007 GB, free: 4.387 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004858/0.04558, allocations: 49.53 kB / 0.5007 GB, free: 4.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.04932, allocations: 0.8749 MB / 0.5016 GB, free: 3.453 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.05977, allocations: 2.341 MB / 0.5039 GB, free: 1.109 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006755/0.06652, allocations: 2.058 MB / 0.5059 GB, free: 15.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.07789, allocations: 5.854 MB / 0.5116 GB, free: 9.176 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.08004, allocations: 0.8649 MB / 0.5124 GB, free: 8.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006859/0.0869, allocations: 3.307 MB / 0.5157 GB, free: 4.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/0.0915, allocations: 2.266 MB / 0.5179 GB, free: 2.668 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.09281, allocations: 436 kB / 0.5183 GB, free: 2.242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.09462, allocations: 0.5935 MB / 0.5189 GB, free: 1.648 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.09585, allocations: 1.166 MB / 0.52 GB, free: 488 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.09894, allocations: 1.721 MB / 0.5217 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.1101, allocations: 6.333 MB / 0.5279 GB, free: 8.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.1101, allocations: 0 / 0.5279 GB, free: 8.391 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1101, allocations: 0 / 0.5279 GB, free: 8.391 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002705/0.1104, allocations: 0 / 0.5279 GB, free: 8.391 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.03649/0.1469, allocations: 9.841 MB / 0.5375 GB, free: 14.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.1469, allocations: 8.031 kB / 0.5375 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02869/0.1756, allocations: 4.741 MB / 0.5421 GB, free: 9.707 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008114/0.1837, allocations: 2.645 MB / 0.5447 GB, free: 6.977 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001724/0.1855, allocations: 1.036 MB / 0.5457 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.187, allocations: 344 kB / 0.5461 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.1997, allocations: 4.756 MB / 0.5507 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.1998, allocations: 0 / 0.5507 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004712/0.2003, allocations: 140 kB / 0.5508 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-05/0.2003, allocations: 87.94 kB / 0.5509 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.2119, allocations: 4.245 MB / 0.5551 GB, free: 12.18 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.0386/0.2505, allocations: 13.15 MB / 0.5679 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/0.2645, allocations: 4.365 MB / 0.5722 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007338/0.2719, allocations: 2.501 MB / 0.5746 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.2724, allocations: 82.95 kB / 0.5747 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008204/0.2806, allocations: 3.206 MB / 0.5778 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=383): time 7.334e-06/0.2806, allocations: 0 / 0.5778 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=383): time 0.5189/0.7996, allocations: 67.98 MB / 0.6442 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.7997, allocations: 145.8 kB / 0.6443 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.8037, allocations: 3.213 MB / 0.6475 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/0.8047, allocations: 85.73 kB / 0.6476 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.8059, allocations: 2.009 MB / 0.6495 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/0.8073, allocations: 1.357 MB / 0.6508 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.8086, allocations: 0.6665 MB / 0.6515 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.8086, allocations: 301.1 kB / 0.6518 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.8136, allocations: 2.627 MB / 0.6544 GB, free: 128 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005198/0.8188, allocations: 3.255 MB / 0.6575 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0667/0.8855, allocations: 18.96 MB / 0.676 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.8855, allocations: 8 kB / 0.6761 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05521/0.9407, allocations: 17.33 MB / 0.693 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.9408, allocations: 67.41 kB / 0.693 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/0.9408, allocations: 12 kB / 0.6931 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04799/0.9888, allocations: 10.6 MB / 0.7034 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/0.9929, allocations: 0.6592 MB / 0.704 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07925/1.072, allocations: 32.45 MB / 0.7357 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006452/1.079, allocations: 0.6244 MB / 0.7364 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009056/1.08, allocations: 148 kB / 0.7365 GB, free: 43.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 (396): * Single equations (assignments): 393 * 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.001977/1.082, allocations: 0.6697 MB / 0.7371 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.083, allocations: 0.5868 MB / 0.7377 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05246/1.136, allocations: 16.74 MB / 0.7541 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/1.136, allocations: 36 kB / 0.7541 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-05/1.136, allocations: 28 kB / 0.7541 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/1.136, allocations: 15.94 kB / 0.7541 GB, free: 25.14 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.05932/1.195, allocations: 20.02 MB / 0.7737 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/1.195, allocations: 0 / 0.7737 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.197, allocations: 395.5 kB / 0.7741 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05157/1.249, allocations: 10.82 MB / 0.7846 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/1.25, allocations: 67.98 kB / 0.7847 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2709/1.521, allocations: 30.85 MB / 0.8148 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.521, allocations: 1.375 kB / 0.8148 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06167/1.583, allocations: 20.27 MB / 0.8346 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.584, allocations: 0.503 MB / 0.8351 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.586, allocations: 63.66 kB / 0.8352 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/1.59, allocations: 377.2 kB / 0.8355 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003202/1.593, allocations: 0.8194 MB / 0.8363 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/1.594, allocations: 92.59 kB / 0.8364 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002714/1.596, allocations: 2.089 MB / 0.8385 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.596, allocations: 4 kB / 0.8385 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005796/1.602, allocations: 1.806 MB / 0.8402 GB, free: 148.4 MB / 0.5261 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.0007049/1.603, allocations: 200.8 kB / 0.8404 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02406/1.627, allocations: 8.827 MB / 0.849 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.627, allocations: 0.5469 kB / 0.849 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/1.646, allocations: 5.88 MB / 0.8548 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.649, allocations: 477.1 kB / 0.8552 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.663, allocations: 8.052 MB / 0.8631 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/1.665, allocations: 1.928 MB / 0.865 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001577/1.666, allocations: 375.1 kB / 0.8653 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008328/1.667, allocations: 256.4 kB / 0.8656 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/1.667, allocations: 0 / 0.8656 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1169/1.784, allocations: 96.99 MB / 0.9603 GB, free: 28.61 MB / 0.5261 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.801726788049564]