Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009432/0.0009433, allocations: 173.1 kB / 16.11 MB, free: 5.695 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.42/1.42, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0008732/0.0008732, allocations: 92.16 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.3113/0.3113, allocations: 42.29 MB / 361.2 MB, free: 49.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006797/0.0006798, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1645, allocations: 57.57 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5585, allocations: 91.22 MB / 0.5647 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.5588, allocations: 81.98 kB / 0.5647 GB, free: 472 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04957/0.6084, allocations: 17.55 MB / 0.5819 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6084, allocations: 0 / 0.5819 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.106e-05/0.6085, allocations: 15.94 kB / 0.5819 GB, free: 14.83 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.004219/0.6127, allocations: 1.491 MB / 0.5833 GB, free: 13.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6128, allocations: 8.031 kB / 0.5834 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.6156, allocations: 455.2 kB / 0.5838 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6168, allocations: 0.5952 MB / 0.5844 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.617, allocations: 176.1 kB / 0.5845 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.6172, allocations: 51.94 kB / 0.5846 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.6192, allocations: 0.8536 MB / 0.5854 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6192, allocations: 4 kB / 0.5854 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.6193, allocations: 20 kB / 0.5854 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6193, allocations: 12 kB / 0.5855 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.6213, allocations: 0.907 MB / 0.5863 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.6254, allocations: 2.016 MB / 0.5883 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.6268, allocations: 0.712 MB / 0.589 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.6281, allocations: 0.6506 MB / 0.5896 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-05/0.6282, allocations: 12.56 kB / 0.5897 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6283, allocations: 47.05 kB / 0.5897 GB, free: 6.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.948e-06/0.6283, allocations: 0 / 0.5897 GB, free: 6.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.02005/0.6483, allocations: 6.068 MB / 0.5956 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6484, allocations: 59.97 kB / 0.5957 GB, free: 488 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.6494, allocations: 0.6076 MB / 0.5963 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.6496, allocations: 33.7 kB / 0.5963 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.6499, allocations: 341 kB / 0.5966 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.6502, allocations: 236.5 kB / 0.5969 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.6503, allocations: 8 kB / 0.5969 GB, free: 15.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6505, allocations: 333.9 kB / 0.5972 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.6519, allocations: 0.54 MB / 0.5977 GB, free: 14.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.6533, allocations: 0.5977 MB / 0.5983 GB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/0.6648, allocations: 3.543 MB / 0.6018 GB, free: 10.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6648, allocations: 0 / 0.6018 GB, free: 10.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.01107/0.6759, allocations: 3.835 MB / 0.6055 GB, free: 6.359 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.676, allocations: 8 kB / 0.6055 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.676, allocations: 0 / 0.6055 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005179/0.6812, allocations: 1.687 MB / 0.6072 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.6818, allocations: 99.88 kB / 0.6072 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.6993, allocations: 7.95 MB / 0.615 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.7004, allocations: 143.4 kB / 0.6152 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.7006, allocations: 23.98 kB / 0.6152 GB, free: 12.32 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.0005051/0.7011, allocations: 193.8 kB / 0.6154 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.7013, allocations: 82.97 kB / 0.6154 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.7128, allocations: 3.941 MB / 0.6193 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.7129, allocations: 8 kB / 0.6193 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7129, allocations: 3.938 kB / 0.6193 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.7129, allocations: 3.984 kB / 0.6193 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.7144, allocations: 0.9196 MB / 0.6202 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7144, allocations: 4 kB / 0.6202 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.715, allocations: 91.88 kB / 0.6203 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/0.7199, allocations: 1.649 MB / 0.6219 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.7201, allocations: 11.98 kB / 0.6219 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/0.7357, allocations: 6.832 MB / 0.6286 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7358, allocations: 0 / 0.6286 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.7489, allocations: 4.753 MB / 0.6332 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.7493, allocations: 164 kB / 0.6334 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.7496, allocations: 15.94 kB / 0.6334 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7506, allocations: 119.8 kB / 0.6335 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006221/0.7513, allocations: 160.3 kB / 0.6337 GB, free: 9.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.7514, allocations: 19.94 kB / 0.6337 GB, free: 9.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006692/0.7521, allocations: 443 kB / 0.6341 GB, free: 8.676 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7521, allocations: 0 / 0.6341 GB, free: 8.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001191/0.7533, allocations: 307.6 kB / 0.6344 GB, free: 8.375 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.0003113/0.7536, allocations: 140.2 kB / 0.6345 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005321/0.7589, allocations: 2.011 MB / 0.6365 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.759, allocations: 0 / 0.6365 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.7628, allocations: 1.415 MB / 0.6379 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.7638, allocations: 71.62 kB / 0.6379 GB, free: 4.707 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.7676, allocations: 1.771 MB / 0.6397 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.7683, allocations: 0.954 MB / 0.6406 GB, free: 1.938 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.7686, allocations: 68.52 kB / 0.6407 GB, free: 1.871 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.7688, allocations: 51.36 kB / 0.6407 GB, free: 1.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.021e-06/0.7688, allocations: 0 / 0.6407 GB, free: 1.82 MB / 458.7 MB Notification: Performance of Templates: time 0.02629/0.7951, allocations: 15.42 MB / 0.6558 GB, free: 2.426 MB / 474.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestPQ.pipe 2>&1)