Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 168.9 kB / 16.1 MB, free: 5.691 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.343/1.343, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0008706/0.0008704, allocations: 96.06 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 78.6 MB / 421 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 19.94 kB / 0.4894 GB, free: 9.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 69.34 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.008099/0.3192, allocations: 12.96 MB / 0.5698 GB, free: 5.781 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006357/0.3256, allocations: 3.367 MB / 0.5731 GB, free: 2.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.3273, allocations: 28 kB / 0.5731 GB, free: 2.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.3281, allocations: 393.4 kB / 0.5735 GB, free: 1.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.3311, allocations: 1.138 MB / 0.5746 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.3338, allocations: 1.36 MB / 0.5759 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.3375, allocations: 3.129 MB / 0.579 GB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008936/0.3384, allocations: 0.6514 MB / 0.5796 GB, free: 11.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.3399, allocations: 1.209 MB / 0.5808 GB, free: 10.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.3416, allocations: 1.644 MB / 0.5824 GB, free: 8.816 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.3419, allocations: 132 kB / 0.5825 GB, free: 8.688 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.3426, allocations: 271.8 kB / 0.5828 GB, free: 8.422 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004712/0.3431, allocations: 0.5517 MB / 0.5833 GB, free: 7.867 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.3442, allocations: 1.376 MB / 0.5847 GB, free: 6.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.3466, allocations: 2.662 MB / 0.5873 GB, free: 3.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3466, allocations: 0 / 0.5873 GB, free: 3.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3467, allocations: 0 / 0.5873 GB, free: 3.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.3467, allocations: 0 / 0.5873 GB, free: 3.809 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01859/0.3653, allocations: 5.707 MB / 0.5928 GB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3654, allocations: 8.031 kB / 0.5928 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.3796, allocations: 2.259 MB / 0.5951 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.383, allocations: 1.642 MB / 0.5967 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000632/0.3836, allocations: 0.6942 MB / 0.5973 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.384, allocations: 203.9 kB / 0.5975 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/0.3898, allocations: 3.093 MB / 0.6005 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.3898, allocations: 4 kB / 0.6006 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.39, allocations: 79.94 kB / 0.6006 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.3901, allocations: 44 kB / 0.6007 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.3957, allocations: 2.877 MB / 0.6035 GB, free: 2.941 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.01702/0.4127, allocations: 9.794 MB / 0.613 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.4234, allocations: 4.782 MB / 0.6177 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/0.4276, allocations: 2.093 MB / 0.6198 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.4279, allocations: 41.95 kB / 0.6198 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.4279, allocations: 64.5 kB / 0.6199 GB, free: 1.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 4.648e-06/0.428, allocations: 0 / 0.6199 GB, free: 1.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.1215/0.5495, allocations: 33.9 MB / 0.653 GB, free: 15.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5496, allocations: 124.8 kB / 0.6531 GB, free: 15.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.5527, allocations: 1.988 MB / 0.655 GB, free: 13.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007392/0.5535, allocations: 69.7 kB / 0.6551 GB, free: 13.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009104/0.5544, allocations: 1.077 MB / 0.6561 GB, free: 12.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.5555, allocations: 0.8088 MB / 0.6569 GB, free: 11.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/0.556, allocations: 255.7 kB / 0.6572 GB, free: 11.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5561, allocations: 305.1 kB / 0.6575 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004323/0.5604, allocations: 2.063 MB / 0.6595 GB, free: 8.883 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/0.5652, allocations: 2.429 MB / 0.6619 GB, free: 6.355 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05587/0.6211, allocations: 15.15 MB / 0.6766 GB, free: 7.059 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.6212, allocations: 7.938 kB / 0.6767 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.3346/0.9558, allocations: 14.96 MB / 0.6913 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.956, allocations: 299.9 kB / 0.6915 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.956, allocations: 11.78 kB / 0.6916 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/0.973, allocations: 6.332 MB / 0.6977 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.9753, allocations: 479.4 kB / 0.6982 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05313/1.028, allocations: 24.81 MB / 0.7224 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.032, allocations: 0.5284 MB / 0.7229 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/1.032, allocations: 108 kB / 0.723 GB, free: 89.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/1.032, allocations: 4 kB / 0.723 GB, free: 89.09 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0361/1.069, allocations: 14.64 MB / 0.7373 GB, free: 74.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/1.069, allocations: 12 kB / 0.7374 GB, free: 74.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/1.085, allocations: 6.327 MB / 0.7435 GB, free: 68.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/1.087, allocations: 471.3 kB / 0.744 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06225/1.149, allocations: 24.8 MB / 0.7682 GB, free: 42.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.154, allocations: 499 kB / 0.7687 GB, free: 42.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005851/1.155, allocations: 99.97 kB / 0.7688 GB, free: 42.13 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00153/1.156, allocations: 0.5131 MB / 0.7693 GB, free: 41.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/1.157, allocations: 268.6 kB / 0.7695 GB, free: 41.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04356/1.201, allocations: 14.28 MB / 0.7835 GB, free: 27.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.201, allocations: 24 kB / 0.7835 GB, free: 27.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.201, allocations: 17.42 kB / 0.7835 GB, free: 26.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-05/1.201, allocations: 11.95 kB / 0.7835 GB, free: 26.98 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 postOpt removeSimpleEquations (simulation): time 0.04016/1.241, allocations: 17.8 MB / 0.8009 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.241, allocations: 7.938 kB / 0.8009 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.243, allocations: 243.8 kB / 0.8011 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01551/1.258, allocations: 6.086 MB / 0.8071 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004553/1.259, allocations: 40 kB / 0.8071 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04879/1.307, allocations: 21.41 MB / 0.828 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.307, allocations: 4 kB / 0.828 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04539/1.353, allocations: 16.74 MB / 0.8444 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/1.354, allocations: 385.1 kB / 0.8448 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/1.354, allocations: 44 kB / 0.8448 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.357, allocations: 363.7 kB / 0.8451 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001925/1.359, allocations: 0.5371 MB / 0.8457 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.359, allocations: 61.75 kB / 0.8457 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001691/1.361, allocations: 1.294 MB / 0.847 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.361, allocations: 0 / 0.847 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00479/1.365, allocations: 1.818 MB / 0.8488 GB, free: 7.848 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003798/1.366, allocations: 168.5 kB / 0.8489 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0306/1.396, allocations: 12.17 MB / 0.8608 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.396, allocations: 0 / 0.8608 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/1.409, allocations: 4.596 MB / 0.8653 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.411, allocations: 224.4 kB / 0.8655 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/1.42, allocations: 6.262 MB / 0.8716 GB, free: 340 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.422, allocations: 1.733 MB / 0.8733 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/1.423, allocations: 159.3 kB / 0.8735 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/1.423, allocations: 0 / 0.8735 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.3096/1.732, allocations: 51.24 MB / 0.9235 GB, free: 191.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)