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.001934/0.001934, allocations: 88.72 kB / 19.44 MB, free: 352 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.536/1.536, allocations: 177.1 MB / 199.7 MB, free: 5.797 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.001752/0.001752, allocations: 168.2 kB / 256.3 MB, free: 13.15 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.4635/0.4635, allocations: 80.38 MB / 393.1 MB, free: 2.129 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 2.355e-06/2.355e-06, allocations: 0 / 489.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.762e-05, allocations: 6.688 kB / 489.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02278/0.02281, allocations: 18.42 MB / 0.4959 GB, free: 9.254 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.03755, allocations: 4.837 MB / 0.5006 GB, free: 4.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/0.04281, allocations: 47.94 kB / 0.5006 GB, free: 4.406 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.04625, allocations: 0.8788 MB / 0.5015 GB, free: 3.516 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.05541, allocations: 2.338 MB / 0.5038 GB, free: 1.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006128/0.06154, allocations: 2.038 MB / 0.5058 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01088/0.07242, allocations: 5.85 MB / 0.5115 GB, free: 9.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.07446, allocations: 0.8688 MB / 0.5123 GB, free: 8.348 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/0.08093, allocations: 3.303 MB / 0.5156 GB, free: 5.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.08491, allocations: 2.27 MB / 0.5178 GB, free: 2.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.08609, allocations: 436 kB / 0.5182 GB, free: 2.332 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.08782, allocations: 0.5896 MB / 0.5188 GB, free: 1.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.08911, allocations: 1.166 MB / 0.5199 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.09239, allocations: 1.725 MB / 0.5216 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.1013, allocations: 6.329 MB / 0.5278 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1013, allocations: 0 / 0.5278 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1013, allocations: 3.938 kB / 0.5278 GB, free: 8.484 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001811/0.1015, allocations: 8 kB / 0.5278 GB, free: 8.477 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.035/0.1365, allocations: 9.841 MB / 0.5374 GB, free: 14.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1365, allocations: 12.03 kB / 0.5374 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/0.165, allocations: 4.725 MB / 0.542 GB, free: 9.801 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008264/0.1732, allocations: 2.648 MB / 0.5446 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001584/0.1748, allocations: 1.036 MB / 0.5456 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.1766, allocations: 348 kB / 0.5459 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.1924, allocations: 4.752 MB / 0.5506 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.1925, allocations: 0 / 0.5506 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.1942, allocations: 140 kB / 0.5507 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.1943, allocations: 87.94 kB / 0.5508 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.2069, allocations: 4.245 MB / 0.5549 GB, free: 12.27 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.04036/0.2472, allocations: 13.12 MB / 0.5678 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.2619, allocations: 4.357 MB / 0.572 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007021/0.2689, allocations: 2.503 MB / 0.5745 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.2697, allocations: 78.95 kB / 0.5745 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009094/0.2788, allocations: 3.204 MB / 0.5777 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 1.179e-05/0.2788, allocations: 7.922 kB / 0.5777 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.4821/0.761, allocations: 68.13 MB / 0.6442 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.7611, allocations: 149.8 kB / 0.6443 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.7646, allocations: 3.228 MB / 0.6475 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008354/0.7655, allocations: 89.7 kB / 0.6476 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009607/0.7664, allocations: 1.997 MB / 0.6495 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/0.7677, allocations: 1.352 MB / 0.6509 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.769, allocations: 0.6586 MB / 0.6515 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.769, allocations: 305.1 kB / 0.6518 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/0.7736, allocations: 2.619 MB / 0.6543 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.7785, allocations: 3.243 MB / 0.6575 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06198/0.8405, allocations: 18.94 MB / 0.676 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/0.8405, allocations: 4 kB / 0.676 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05068/0.8912, allocations: 17.02 MB / 0.6926 GB, free: 88.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.8913, allocations: 63.41 kB / 0.6927 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.8913, allocations: 12 kB / 0.6927 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04592/0.9372, allocations: 10.74 MB / 0.7032 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.9405, allocations: 0.6553 MB / 0.7038 GB, free: 76.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07767/1.018, allocations: 32.86 MB / 0.7359 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006383/1.025, allocations: 0.6202 MB / 0.7365 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/1.025, allocations: 152 kB / 0.7367 GB, free: 43.06 MB / 0.5105 GB 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 (391): * Single equations (assignments): 388 * 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.001914/1.027, allocations: 0.6759 MB / 0.7373 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/1.029, allocations: 0.5791 MB / 0.7379 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05307/1.082, allocations: 16.73 MB / 0.7542 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/1.082, allocations: 45.31 kB / 0.7543 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-05/1.082, allocations: 28 kB / 0.7543 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-05/1.082, allocations: 19.92 kB / 0.7543 GB, free: 24.91 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.05816/1.14, allocations: 20.01 MB / 0.7739 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.14, allocations: 0 / 0.7739 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/1.142, allocations: 391.5 kB / 0.7742 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05084/1.193, allocations: 10.85 MB / 0.7848 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/1.194, allocations: 67.98 kB / 0.7849 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3124/1.507, allocations: 30.85 MB / 0.815 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/1.507, allocations: 0 / 0.815 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06217/1.569, allocations: 20.27 MB / 0.8348 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.571, allocations: 0.4974 MB / 0.8353 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/1.572, allocations: 67.88 kB / 0.8354 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004922/1.577, allocations: 374.4 kB / 0.8357 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003464/1.581, allocations: 0.8104 MB / 0.8365 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004518/1.581, allocations: 102.6 kB / 0.8366 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002933/1.584, allocations: 2.091 MB / 0.8387 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/1.584, allocations: 0 / 0.8387 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006499/1.591, allocations: 1.808 MB / 0.8404 GB, free: 148.2 MB / 0.5261 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.000769/1.591, allocations: 204.9 kB / 0.8406 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02275/1.614, allocations: 8.931 MB / 0.8493 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.614, allocations: 1.938 kB / 0.8493 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01781/1.632, allocations: 5.914 MB / 0.8551 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.635, allocations: 482.9 kB / 0.8556 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.647, allocations: 8.019 MB / 0.8634 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.649, allocations: 1.93 MB / 0.8653 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001524/1.65, allocations: 367.1 kB / 0.8657 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008245/1.651, allocations: 264.4 kB / 0.8659 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/1.651, allocations: 0 / 0.8659 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1119/1.763, allocations: 98.25 MB / 0.9618 GB, free: 26.89 MB / 0.5261 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.093198984046467]