Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 174.7 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.303/1.303, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008345/0.0008345, allocations: 89.38 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.4637/0.4637, allocations: 78.07 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.011e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 69.35 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4671, allocations: 99.94 MB / 0.6456 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4674, allocations: 75.95 kB / 0.6457 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5064/0.9738, allocations: 73.4 MB / 0.7173 GB, free: 90.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.9739, allocations: 0 / 0.7173 GB, free: 90.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001539/0.974, allocations: 56.05 kB / 0.7174 GB, free: 90.84 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009293/0.9833, allocations: 3.456 MB / 0.7208 GB, free: 87.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.9834, allocations: 15.95 kB / 0.7208 GB, free: 87.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009203/0.9926, allocations: 1.457 MB / 0.7222 GB, free: 85.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/0.9969, allocations: 1.726 MB / 0.7239 GB, free: 84.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.9973, allocations: 450.8 kB / 0.7243 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.9977, allocations: 183.9 kB / 0.7245 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/1.001, allocations: 2.022 MB / 0.7265 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/1.001, allocations: 4 kB / 0.7265 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/1.001, allocations: 75.94 kB / 0.7266 GB, free: 81.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/1.001, allocations: 44 kB / 0.7266 GB, free: 81.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/1.005, allocations: 2.037 MB / 0.7286 GB, free: 79.19 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.01496/1.02, allocations: 9.524 MB / 0.7379 GB, free: 69.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008361/1.028, allocations: 4.335 MB / 0.7421 GB, free: 64.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.03, allocations: 1.35 MB / 0.7434 GB, free: 63.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/1.03, allocations: 46.83 kB / 0.7435 GB, free: 63.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.03, allocations: 56.56 kB / 0.7435 GB, free: 63.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 3.597e-06/1.03, allocations: 0 / 0.7435 GB, free: 63.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02436/1.055, allocations: 8.28 MB / 0.7516 GB, free: 54.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/1.055, allocations: 77.36 kB / 0.7517 GB, free: 54.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/1.06, allocations: 2.237 MB / 0.7539 GB, free: 52.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.061, allocations: 65.7 kB / 0.7539 GB, free: 52.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/1.062, allocations: 1.221 MB / 0.7551 GB, free: 51.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.063, allocations: 0.7854 MB / 0.7559 GB, free: 50.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.063, allocations: 48 kB / 0.7559 GB, free: 50.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/1.063, allocations: 390.1 kB / 0.7563 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.065, allocations: 1.059 MB / 0.7574 GB, free: 48.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/1.066, allocations: 1.331 MB / 0.7587 GB, free: 47.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/1.068, allocations: 1.193 MB / 0.7598 GB, free: 46.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.068, allocations: 4 kB / 0.7598 GB, free: 46.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.0161/1.084, allocations: 6.131 MB / 0.7658 GB, free: 40.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.084, allocations: 4 kB / 0.7658 GB, free: 40.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.084, allocations: 8 kB / 0.7658 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/1.097, allocations: 3.299 MB / 0.769 GB, free: 36.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006865/1.104, allocations: 1.495 MB / 0.7705 GB, free: 35.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/1.127, allocations: 17.61 MB / 0.7877 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.131, allocations: 373.8 kB / 0.7881 GB, free: 16.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007065/1.132, allocations: 75.97 kB / 0.7881 GB, free: 16.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006675/1.133, allocations: 242.2 kB / 0.7884 GB, free: 16.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.134, allocations: 312.1 kB / 0.7887 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02414/1.158, allocations: 8.588 MB / 0.797 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.158, allocations: 23.95 kB / 0.7971 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.158, allocations: 0 / 0.7971 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/1.158, allocations: 19.89 kB / 0.7971 GB, free: 7.086 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.03154/1.19, allocations: 12.53 MB / 0.8093 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.19, allocations: 3.938 kB / 0.8093 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.192, allocations: 215.7 kB / 0.8095 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01311/1.205, allocations: 3.98 MB / 0.8134 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007352/1.205, allocations: 51.94 kB / 0.8135 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03116/1.237, allocations: 13.2 MB / 0.8264 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.237, allocations: 4 kB / 0.8264 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/1.267, allocations: 10.32 MB / 0.8364 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.269, allocations: 476.5 kB / 0.8369 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/1.27, allocations: 47.94 kB / 0.8369 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.272, allocations: 219.8 kB / 0.8372 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/1.274, allocations: 378.1 kB / 0.8375 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.274, allocations: 52 kB / 0.8376 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002663/1.277, allocations: 1.725 MB / 0.8392 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/1.277, allocations: 4 kB / 0.8393 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003338/1.28, allocations: 0.995 MB / 0.8402 GB, free: 10.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006182/1.281, allocations: 325.2 kB / 0.8405 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.293, allocations: 5.459 MB / 0.8459 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.293, allocations: 0 / 0.8459 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/1.303, allocations: 3.255 MB / 0.849 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.305, allocations: 216.1 kB / 0.8492 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008729/1.314, allocations: 4.748 MB / 0.8539 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.315, allocations: 1.817 MB / 0.8557 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001327/1.316, allocations: 203.4 kB / 0.8559 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/1.317, allocations: 139.4 kB / 0.856 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/1.317, allocations: 0 / 0.856 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of Templates: time 0.4023/1.719, allocations: 49.57 MB / 0.9044 GB, free: 168.9 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)