Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001011/0.001011, 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.9135/0.9135, allocations: 177.2 MB / 200 MB, free: 4.418 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.00121/0.00121, allocations: 159.7 kB / 256.6 MB, free: 232 kB / 234.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.3765/0.3765, allocations: 83.25 MB / 396.4 MB, free: 7.102 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 494 MB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.593e-05, allocations: 6.25 kB / 494 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.1934/0.1934, allocations: 20.62 MB / 0.5026 GB, free: 37.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007707/0.2012, allocations: 4.908 MB / 0.5074 GB, free: 33.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2025, allocations: 46.78 kB / 0.5074 GB, free: 33.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.2036, allocations: 0.8768 MB / 0.5083 GB, free: 33.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.2067, allocations: 2.416 MB / 0.5106 GB, free: 31.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.2092, allocations: 2.053 MB / 0.5126 GB, free: 30.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.2126, allocations: 5.918 MB / 0.5184 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.2135, allocations: 0.8654 MB / 0.5193 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.2159, allocations: 3.371 MB / 0.5225 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.2174, allocations: 2.324 MB / 0.5248 GB, free: 24.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.2178, allocations: 444.3 kB / 0.5252 GB, free: 24.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.2186, allocations: 0.6042 MB / 0.5258 GB, free: 24.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.2191, allocations: 1.183 MB / 0.527 GB, free: 23.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2201, allocations: 1.743 MB / 0.5287 GB, free: 23.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.223, allocations: 4.524 MB / 0.5331 GB, free: 20.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.223, allocations: 3.688 kB / 0.5331 GB, free: 20.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.223, allocations: 0 / 0.5331 GB, free: 20.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.427e-05/0.223, allocations: 0 / 0.5331 GB, free: 20.71 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.0157/0.2387, allocations: 10.19 MB / 0.5431 GB, free: 16.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2388, allocations: 12.84 kB / 0.5431 GB, free: 16.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/0.253, allocations: 4.795 MB / 0.5478 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.2565, allocations: 2.588 MB / 0.5503 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.2569, allocations: 1.019 MB / 0.5513 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.2573, allocations: 352 kB / 0.5516 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.2611, allocations: 3.136 MB / 0.5547 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.2611, allocations: 4 kB / 0.5547 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.2614, allocations: 140 kB / 0.5548 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.2614, allocations: 87.94 kB / 0.5549 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.2644, allocations: 2.037 MB / 0.5569 GB, free: 6.559 MB / 410.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.01449/0.2789, allocations: 12.3 MB / 0.5689 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.2832, allocations: 2.563 MB / 0.5714 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.2848, allocations: 1.218 MB / 0.5726 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.2851, allocations: 78.97 kB / 0.5727 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.2873, allocations: 1.855 MB / 0.5745 GB, free: 4.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=384): time 5.11e-06/0.2873, allocations: 4 kB / 0.5745 GB, free: 4.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=384): time 0.1411/0.4284, allocations: 55.87 MB / 0.629 GB, free: 12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.4285, allocations: 141.8 kB / 0.6292 GB, free: 11.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.4316, allocations: 3.02 MB / 0.6321 GB, free: 8.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004905/0.4321, allocations: 89.7 kB / 0.6322 GB, free: 8.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.4332, allocations: 2.078 MB / 0.6342 GB, free: 6.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.4345, allocations: 1.387 MB / 0.6356 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/0.4355, allocations: 0.6947 MB / 0.6363 GB, free: 4.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.4356, allocations: 476.8 kB / 0.6367 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.4374, allocations: 1.151 MB / 0.6379 GB, free: 2.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.4396, allocations: 1.973 MB / 0.6398 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/0.4458, allocations: 4.918 MB / 0.6446 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.4458, allocations: 4 kB / 0.6446 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02309/0.4689, allocations: 11.69 MB / 0.656 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.469, allocations: 63.41 kB / 0.6561 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.469, allocations: 16 kB / 0.6561 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02016/0.4892, allocations: 7.437 MB / 0.6633 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.4913, allocations: 0.6864 MB / 0.664 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/0.5192, allocations: 13.67 MB / 0.6774 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.5226, allocations: 0.5403 MB / 0.6779 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/0.5229, allocations: 152 kB / 0.678 GB, free: 8.82 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.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 (402): * Single equations (assignments): 399 * 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.001029/0.5239, allocations: 402.9 kB / 0.6784 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007802/0.5247, allocations: 0.5985 MB / 0.679 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2163/0.7409, allocations: 11.24 MB / 0.69 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.741, allocations: 37.16 kB / 0.69 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.198e-05/0.741, allocations: 28.78 kB / 0.69 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.748e-05/0.7411, allocations: 19.08 kB / 0.6901 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/0.768, allocations: 14.41 MB / 0.7041 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.768, allocations: 0 / 0.7041 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.7694, allocations: 390.8 kB / 0.7045 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02169/0.7911, allocations: 7.661 MB / 0.712 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005723/0.7917, allocations: 76.14 kB / 0.7121 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02825/0.8199, allocations: 15 MB / 0.7267 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.8199, allocations: 3.938 kB / 0.7267 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/0.844, allocations: 12.52 MB / 0.7389 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.8454, allocations: 0.5013 MB / 0.7394 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.8458, allocations: 67.78 kB / 0.7395 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.8477, allocations: 290.1 kB / 0.7398 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/0.8493, allocations: 0.776 MB / 0.7405 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/0.8495, allocations: 95.33 kB / 0.7406 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001447/0.8509, allocations: 1.791 MB / 0.7424 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8509, allocations: 0 / 0.7424 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003058/0.854, allocations: 1.813 MB / 0.7441 GB, free: 125 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.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.0004583/0.8545, allocations: 207.5 kB / 0.7443 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009536/0.864, allocations: 5.992 MB / 0.7502 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.864, allocations: 0 / 0.7502 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007212/0.8712, allocations: 4.537 MB / 0.7546 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.873, allocations: 454.8 kB / 0.7551 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.8818, allocations: 7.429 MB / 0.7623 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.8823, allocations: 0.806 MB / 0.7631 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007078/0.883, allocations: 375.4 kB / 0.7635 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.8835, allocations: 260.4 kB / 0.7637 GB, free: 105 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/0.8835, allocations: 0 / 0.7637 GB, free: 105 MB / 0.5261 GB Notification: Performance of Templates: time 0.0886/0.9721, allocations: 105.1 MB / 0.8663 GB, free: 376 kB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.325168864801526]