Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 171.5 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.3 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009562, allocations: 95.55 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3143/0.3143, allocations: 42.29 MB / 361.2 MB, free: 49.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 16 kB / 429.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 57.55 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4492, allocations: 91.23 MB / 0.5647 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4494, allocations: 83.95 kB / 0.5647 GB, free: 492 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04732/0.4967, allocations: 17.54 MB / 0.5819 GB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.4968, allocations: 7.938 kB / 0.5819 GB, free: 14.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.863e-05/0.4969, allocations: 15.94 kB / 0.5819 GB, free: 14.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003927/0.5008, allocations: 1.503 MB / 0.5834 GB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5009, allocations: 8.031 kB / 0.5834 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.5034, allocations: 443.3 kB / 0.5838 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5045, allocations: 0.5992 MB / 0.5844 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.5047, allocations: 172.1 kB / 0.5845 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.5048, allocations: 55.94 kB / 0.5846 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.5067, allocations: 0.8497 MB / 0.5854 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.5068, allocations: 0 / 0.5854 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.5068, allocations: 20 kB / 0.5854 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.5069, allocations: 19.94 kB / 0.5855 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5089, allocations: 0.9147 MB / 0.5864 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.5132, allocations: 2.012 MB / 0.5883 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.5147, allocations: 0.6958 MB / 0.589 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.516, allocations: 0.6623 MB / 0.5896 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.5161, allocations: 16.53 kB / 0.5897 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5161, allocations: 39.12 kB / 0.5897 GB, free: 6.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 4.218e-06/0.5162, allocations: 3.938 kB / 0.5897 GB, free: 6.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.01931/0.5355, allocations: 6.064 MB / 0.5956 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.5356, allocations: 59.97 kB / 0.5957 GB, free: 0.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5366, allocations: 0.6137 MB / 0.5963 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.5368, allocations: 37.7 kB / 0.5963 GB, free: 15.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.5371, allocations: 333 kB / 0.5966 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.5375, allocations: 228.6 kB / 0.5969 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.5376, allocations: 12 kB / 0.5969 GB, free: 15.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5378, allocations: 329.9 kB / 0.5972 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.539, allocations: 0.5516 MB / 0.5977 GB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.5403, allocations: 0.5939 MB / 0.5983 GB, free: 13.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.5515, allocations: 3.543 MB / 0.6018 GB, free: 10.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.5516, allocations: 4 kB / 0.6018 GB, free: 10.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01113/0.5627, allocations: 3.831 MB / 0.6055 GB, free: 6.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.5628, allocations: 4 kB / 0.6055 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5628, allocations: 0 / 0.6055 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005542/0.5684, allocations: 1.691 MB / 0.6072 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5691, allocations: 107.9 kB / 0.6073 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/0.5871, allocations: 7.938 MB / 0.615 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.5882, allocations: 143.4 kB / 0.6151 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.5885, allocations: 23.98 kB / 0.6152 GB, free: 12.34 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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: 2 * 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 (43): * Single equations (assignments): 42 * 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 {19 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006996/0.5892, allocations: 201.7 kB / 0.6154 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.5895, allocations: 78.97 kB / 0.6154 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6009, allocations: 3.937 MB / 0.6193 GB, free: 8.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6009, allocations: 8 kB / 0.6193 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6009, allocations: 3.938 kB / 0.6193 GB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.601, allocations: 7.984 kB / 0.6193 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6025, allocations: 0.9158 MB / 0.6202 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6025, allocations: 0 / 0.6202 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.6031, allocations: 87.88 kB / 0.6203 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004813/0.6079, allocations: 1.652 MB / 0.6219 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.6081, allocations: 15.98 kB / 0.6219 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/0.6234, allocations: 6.836 MB / 0.6286 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6235, allocations: 0 / 0.6286 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.6365, allocations: 4.745 MB / 0.6332 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.6369, allocations: 168 kB / 0.6334 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.6372, allocations: 11.94 kB / 0.6334 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6382, allocations: 119.9 kB / 0.6335 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/0.6389, allocations: 164.2 kB / 0.6337 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.639, allocations: 16 kB / 0.6337 GB, free: 9.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008143/0.6398, allocations: 443 kB / 0.6341 GB, free: 8.695 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6399, allocations: 0 / 0.6341 GB, free: 8.695 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002092/0.642, allocations: 311.6 kB / 0.6344 GB, free: 8.391 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (40): * Single equations (assignments): 39 * 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 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004282/0.6424, allocations: 143.5 kB / 0.6345 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005668/0.6481, allocations: 2.011 MB / 0.6365 GB, free: 6.219 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6481, allocations: 0 / 0.6365 GB, free: 6.219 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003898/0.652, allocations: 1.415 MB / 0.6379 GB, free: 4.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.6529, allocations: 70.92 kB / 0.6379 GB, free: 4.723 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.6571, allocations: 1.767 MB / 0.6397 GB, free: 2.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.6579, allocations: 0.9579 MB / 0.6406 GB, free: 1.953 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003412/0.6582, allocations: 72.52 kB / 0.6407 GB, free: 1.883 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.6584, allocations: 35.42 kB / 0.6407 GB, free: 1.848 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6584, allocations: 0 / 0.6407 GB, free: 1.848 MB / 458.7 MB Notification: Performance of Templates: time 0.02815/0.6865, allocations: 15.44 MB / 0.6558 GB, free: 2.43 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe 2>&1)