Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.265/1.265, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008428/0.0008428, allocations: 100.9 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4801/0.4801, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.373e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 69.36 MB / 0.548 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4167, allocations: 98.77 MB / 0.6445 GB, free: 1.773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.417, allocations: 79.95 kB / 0.6445 GB, free: 1.695 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08591/0.5029, allocations: 30.84 MB / 0.6747 GB, free: 2.645 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.503, allocations: 0 / 0.6747 GB, free: 2.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.5031, allocations: 20 kB / 0.6747 GB, free: 2.625 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004835/0.5079, allocations: 1.726 MB / 0.6764 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.508, allocations: 11.97 kB / 0.6764 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00371/0.5117, allocations: 0.5641 MB / 0.6769 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.283/0.7947, allocations: 0.7864 MB / 0.6777 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.795, allocations: 232.8 kB / 0.6779 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.7952, allocations: 79.14 kB / 0.678 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.797, allocations: 0.9407 MB / 0.6789 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.797, allocations: 5.516 kB / 0.6789 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.7971, allocations: 31.75 kB / 0.6789 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.7971, allocations: 18.38 kB / 0.679 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.7986, allocations: 0.8504 MB / 0.6798 GB, free: 103.4 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007127/0.8058, allocations: 3.929 MB / 0.6836 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.8133, allocations: 2.615 MB / 0.6862 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.8142, allocations: 0.5621 MB / 0.6867 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.8143, allocations: 15.39 kB / 0.6867 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.8143, allocations: 42.12 kB / 0.6868 GB, free: 101.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.116e-06/0.8143, allocations: 3.75 kB / 0.6868 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01088/0.8252, allocations: 3.906 MB / 0.6906 GB, free: 101.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.8253, allocations: 145.6 kB / 0.6907 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.8266, allocations: 0.9097 MB / 0.6916 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8267, allocations: 48.61 kB / 0.6917 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.8271, allocations: 0.5156 MB / 0.6922 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.8274, allocations: 343 kB / 0.6925 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.8275, allocations: 15.38 kB / 0.6925 GB, free: 100.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8276, allocations: 341.2 kB / 0.6928 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007247/0.8284, allocations: 448.7 kB / 0.6933 GB, free: 100.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.8291, allocations: 0.5829 MB / 0.6938 GB, free: 99.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.8298, allocations: 0.5465 MB / 0.6944 GB, free: 99.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8298, allocations: 0 / 0.6944 GB, free: 99.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01097/0.8408, allocations: 4.027 MB / 0.6983 GB, free: 98.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.8411, allocations: 1.201 MB / 0.6995 GB, free: 97.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8411, allocations: 5.969 kB / 0.6995 GB, free: 97.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.8457, allocations: 1.443 MB / 0.7009 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8468, allocations: 189 kB / 0.7011 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.8582, allocations: 6.427 MB / 0.7074 GB, free: 93.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.8598, allocations: 192.3 kB / 0.7075 GB, free: 93.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.8599, allocations: 37.39 kB / 0.7076 GB, free: 93.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.8599, allocations: 3.969 kB / 0.7076 GB, free: 93.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/0.8703, allocations: 3.896 MB / 0.7114 GB, free: 91.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8704, allocations: 4 kB / 0.7114 GB, free: 91.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/0.8748, allocations: 1.453 MB / 0.7128 GB, free: 90.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.8758, allocations: 184.2 kB / 0.713 GB, free: 90 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.8871, allocations: 6.427 MB / 0.7193 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.8886, allocations: 176.9 kB / 0.7194 GB, free: 84.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.8887, allocations: 35.56 kB / 0.7195 GB, free: 84 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.000285/0.889, allocations: 187.6 kB / 0.7196 GB, free: 83.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.8893, allocations: 137.6 kB / 0.7198 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.8998, allocations: 4.029 MB / 0.7237 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.8998, allocations: 15.89 kB / 0.7237 GB, free: 80.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8998, allocations: 4 kB / 0.7237 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.8999, allocations: 11.89 kB / 0.7237 GB, free: 80.48 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01236/0.9122, allocations: 5.67 MB / 0.7293 GB, free: 75.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.9123, allocations: 4.031 kB / 0.7293 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.9129, allocations: 117.4 kB / 0.7294 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/0.9171, allocations: 1.413 MB / 0.7308 GB, free: 74.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.9172, allocations: 20 kB / 0.7308 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.9272, allocations: 5.728 MB / 0.7364 GB, free: 68.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9272, allocations: 0 / 0.7364 GB, free: 68.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.9389, allocations: 4.771 MB / 0.741 GB, free: 63.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.9394, allocations: 235.2 kB / 0.7413 GB, free: 63.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.9396, allocations: 16 kB / 0.7413 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.9407, allocations: 139.9 kB / 0.7414 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004685/0.9412, allocations: 184.4 kB / 0.7416 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/0.9413, allocations: 20 kB / 0.7416 GB, free: 63.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00079/0.9421, allocations: 0.7134 MB / 0.7423 GB, free: 62.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9421, allocations: 0 / 0.7423 GB, free: 62.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001543/0.9436, allocations: 0.6731 MB / 0.743 GB, free: 61.81 MB / 490.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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.9439, allocations: 159 kB / 0.7431 GB, free: 61.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007585/0.9515, allocations: 3.598 MB / 0.7466 GB, free: 57.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9515, allocations: 3.938 kB / 0.7466 GB, free: 57.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.955, allocations: 1.451 MB / 0.748 GB, free: 56.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.956, allocations: 108.6 kB / 0.7481 GB, free: 56.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.9589, allocations: 1.869 MB / 0.75 GB, free: 54.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.9594, allocations: 1.167 MB / 0.7511 GB, free: 53.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007928/0.9602, allocations: 201 kB / 0.7513 GB, free: 53.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.9604, allocations: 51.44 kB / 0.7514 GB, free: 53.1 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9604, allocations: 4 kB / 0.7514 GB, free: 53.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0346/0.995, allocations: 28.05 MB / 0.7787 GB, free: 25.25 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)