Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008112/0.008112, allocations: 167 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 239.1 MB, free: 15.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001034, allocations: 91.27 kB / 290.3 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5411/0.5411, allocations: 78.62 MB / 420 MB, free: 36.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 12 kB / 499.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 69.35 MB / 0.5559 GB, free: 1.793 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005624/0.1329, allocations: 6.079 MB / 0.5618 GB, free: 11.69 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.1376, allocations: 1.936 MB / 0.5637 GB, free: 9.746 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.1382, allocations: 12 kB / 0.5637 GB, free: 9.734 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.1388, allocations: 174.7 kB / 0.5639 GB, free: 9.562 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.1405, allocations: 0.6697 MB / 0.5646 GB, free: 8.895 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1416, allocations: 0.526 MB / 0.5651 GB, free: 8.371 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.143, allocations: 1.468 MB / 0.5665 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.1434, allocations: 257.8 kB / 0.5668 GB, free: 6.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.1441, allocations: 0.5755 MB / 0.5673 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.1449, allocations: 0.7584 MB / 0.5681 GB, free: 5.293 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.145, allocations: 64 kB / 0.5681 GB, free: 5.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.1454, allocations: 183.9 kB / 0.5683 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1457, allocations: 262.7 kB / 0.5685 GB, free: 4.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1459, allocations: 237 kB / 0.5688 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.147, allocations: 1.262 MB / 0.57 GB, free: 3.289 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.147, allocations: 0 / 0.57 GB, free: 3.289 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.147, allocations: 0 / 0.57 GB, free: 3.289 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.147, allocations: 0 / 0.57 GB, free: 3.289 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008389/0.1554, allocations: 2.576 MB / 0.5725 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1555, allocations: 8.031 kB / 0.5725 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2647/0.4201, allocations: 0.779 MB / 0.5733 GB, free: 44.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.422, allocations: 0.8741 MB / 0.5741 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.4222, allocations: 264.8 kB / 0.5744 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.4224, allocations: 93.88 kB / 0.5745 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.4245, allocations: 1.145 MB / 0.5756 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4246, allocations: 0 / 0.5756 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.4247, allocations: 29.91 kB / 0.5756 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4247, allocations: 23.08 kB / 0.5757 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.4267, allocations: 1.056 MB / 0.5767 GB, free: 43.64 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.006463/0.4332, allocations: 3.959 MB / 0.5805 GB, free: 42.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008015/0.4412, allocations: 2.924 MB / 0.5834 GB, free: 42.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.4428, allocations: 0.7546 MB / 0.5841 GB, free: 42.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.366e-05/0.4429, allocations: 20.11 kB / 0.5842 GB, free: 42.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.4445, allocations: 0.8819 MB / 0.585 GB, free: 41.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.574e-06/0.4445, allocations: 0 / 0.585 GB, free: 41.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.03077/0.4753, allocations: 8.794 MB / 0.5936 GB, free: 41.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4754, allocations: 118.2 kB / 0.5937 GB, free: 41.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.4769, allocations: 1.121 MB / 0.5948 GB, free: 40.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002106/0.4771, allocations: 44.89 kB / 0.5949 GB, free: 40.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.4773, allocations: 0.4959 MB / 0.5953 GB, free: 40.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.4776, allocations: 355.9 kB / 0.5957 GB, free: 40.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.4777, allocations: 30.16 kB / 0.5957 GB, free: 40 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.4778, allocations: 365.2 kB / 0.5961 GB, free: 39.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.4794, allocations: 0.8352 MB / 0.5969 GB, free: 39.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.481, allocations: 1.015 MB / 0.5979 GB, free: 38.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.4827, allocations: 0.9744 MB / 0.5988 GB, free: 38.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4827, allocations: 2.156 kB / 0.5988 GB, free: 38.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01391/0.4966, allocations: 5.203 MB / 0.6039 GB, free: 37.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.4967, allocations: 68.28 kB / 0.604 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.4968, allocations: 3.125 kB / 0.604 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.503, allocations: 1.92 MB / 0.6058 GB, free: 36.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.5048, allocations: 318.7 kB / 0.6061 GB, free: 36.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.5242, allocations: 8.981 MB / 0.6149 GB, free: 32.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.5263, allocations: 237.8 kB / 0.6151 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.5264, allocations: 56.94 kB / 0.6152 GB, free: 32.87 MB / 442.7 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * 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 initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005078/0.5269, allocations: 303.1 kB / 0.6155 GB, free: 32.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.5271, allocations: 131.5 kB / 0.6156 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.5414, allocations: 4.744 MB / 0.6202 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.5415, allocations: 9.688 kB / 0.6203 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5415, allocations: 8.172 kB / 0.6203 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.5415, allocations: 4.734 kB / 0.6203 GB, free: 31.5 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 postOpt removeSimpleEquations (simulation): time 0.01609/0.5576, allocations: 6.36 MB / 0.6265 GB, free: 29.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5576, allocations: 0.7969 kB / 0.6265 GB, free: 29.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.5583, allocations: 107.1 kB / 0.6266 GB, free: 29.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/0.564, allocations: 1.876 MB / 0.6284 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.5641, allocations: 23.73 kB / 0.6284 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.5812, allocations: 9.683 MB / 0.6379 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5812, allocations: 1.641 kB / 0.6379 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.5954, allocations: 5.684 MB / 0.6434 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.5958, allocations: 231.2 kB / 0.6437 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.596, allocations: 25.58 kB / 0.6437 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.5975, allocations: 143.9 kB / 0.6438 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/0.5982, allocations: 196.6 kB / 0.644 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.5984, allocations: 27.98 kB / 0.644 GB, free: 13.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009589/0.5993, allocations: 0.7514 MB / 0.6448 GB, free: 12.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5993, allocations: 0 / 0.6448 GB, free: 12.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001196/0.6005, allocations: 490 kB / 0.6452 GB, free: 12.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.6008, allocations: 139.3 kB / 0.6454 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.6067, allocations: 2.837 MB / 0.6481 GB, free: 9.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6067, allocations: 0 / 0.6481 GB, free: 9.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003902/0.6106, allocations: 1.802 MB / 0.6499 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.6115, allocations: 117.5 kB / 0.65 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.6148, allocations: 2.762 MB / 0.6527 GB, free: 4.723 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.6152, allocations: 1.13 MB / 0.6538 GB, free: 3.562 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.6157, allocations: 122.1 kB / 0.6539 GB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.6159, allocations: 75.42 kB / 0.654 GB, free: 3.371 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6159, allocations: 0 / 0.654 GB, free: 3.371 MB / 442.7 MB Notification: Performance of Templates: time 0.03217/0.6481, allocations: 21.73 MB / 0.6752 GB, free: 13.8 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)