Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.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.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 175.4 kB / 16.12 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.468/1.468, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0007833/0.0007833, allocations: 84.88 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3084/0.3084, allocations: 42.29 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 19.98 kB / 429.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 57.56 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3096/0.4238, allocations: 94.02 MB / 0.5674 GB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.424, allocations: 77.91 kB / 0.5675 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05996/0.484, allocations: 21.76 MB / 0.5887 GB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.484, allocations: 0 / 0.5887 GB, free: 7.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.4841, allocations: 19.94 kB / 0.5887 GB, free: 7.824 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.004115/0.4882, allocations: 1.688 MB / 0.5904 GB, free: 6.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4883, allocations: 8.031 kB / 0.5904 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.4911, allocations: 475 kB / 0.5908 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.4923, allocations: 0.681 MB / 0.5915 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.4925, allocations: 213.8 kB / 0.5917 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.4926, allocations: 71.92 kB / 0.5918 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.4948, allocations: 1.086 MB / 0.5928 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4948, allocations: 4 kB / 0.5928 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.4949, allocations: 24 kB / 0.5929 GB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4949, allocations: 16 kB / 0.5929 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.4972, allocations: 1.055 MB / 0.5939 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.5018, allocations: 2.602 MB / 0.5964 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.5037, allocations: 0.9348 MB / 0.5974 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.5052, allocations: 0.7368 MB / 0.5981 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/0.5053, allocations: 16.64 kB / 0.5981 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5053, allocations: 47.2 kB / 0.5981 GB, free: 13.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 2.856e-06/0.5053, allocations: 0 / 0.5981 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=80): time 0.02391/0.5292, allocations: 7.498 MB / 0.6055 GB, free: 6.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.5294, allocations: 89.77 kB / 0.6056 GB, free: 6.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5307, allocations: 0.7355 MB / 0.6063 GB, free: 5.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.531, allocations: 41.7 kB / 0.6063 GB, free: 5.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.5314, allocations: 400.8 kB / 0.6067 GB, free: 5.125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.5318, allocations: 283.8 kB / 0.607 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.5319, allocations: 12 kB / 0.607 GB, free: 4.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.532, allocations: 337.9 kB / 0.6073 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.5335, allocations: 0.6188 MB / 0.6079 GB, free: 3.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.535, allocations: 0.6982 MB / 0.6086 GB, free: 3.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.5472, allocations: 3.883 MB / 0.6124 GB, free: 15.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.5472, allocations: 0 / 0.6124 GB, free: 15.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.01217/0.5594, allocations: 4.196 MB / 0.6165 GB, free: 11.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5595, allocations: 119.5 kB / 0.6166 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5596, allocations: 0 / 0.6166 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005911/0.5655, allocations: 1.862 MB / 0.6184 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.5663, allocations: 127.8 kB / 0.6185 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/0.5871, allocations: 9.058 MB / 0.6274 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5884, allocations: 167.3 kB / 0.6275 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.5886, allocations: 31.92 kB / 0.6276 GB, free: 15.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5886, allocations: 6.969 kB / 0.6276 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01139/0.6, allocations: 3.984 MB / 0.6315 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6001, allocations: 0 / 0.6315 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005724/0.6058, allocations: 1.823 MB / 0.6332 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.6066, allocations: 119.9 kB / 0.6334 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.626, allocations: 8.748 MB / 0.6419 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6276, allocations: 171.3 kB / 0.6421 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.6278, allocations: 23.98 kB / 0.6421 GB, free: 0.5234 MB / 458.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: 4 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007281/0.6285, allocations: 293 kB / 0.6424 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.6288, allocations: 98.78 kB / 0.6425 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.6407, allocations: 4.199 MB / 0.6466 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.6408, allocations: 11.94 kB / 0.6466 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.6408, allocations: 0 / 0.6466 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.6408, allocations: 7.984 kB / 0.6466 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.6428, allocations: 1.056 MB / 0.6476 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.6428, allocations: 7.938 kB / 0.6476 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.6435, allocations: 107.9 kB / 0.6477 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005258/0.6488, allocations: 1.788 MB / 0.6495 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.649, allocations: 19.98 kB / 0.6495 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.666, allocations: 7.815 MB / 0.6571 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.666, allocations: 3.938 kB / 0.6571 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.6796, allocations: 5.091 MB / 0.6621 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.68, allocations: 187.7 kB / 0.6623 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.6803, allocations: 19.94 kB / 0.6623 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.6814, allocations: 135.8 kB / 0.6624 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/0.682, allocations: 184.3 kB / 0.6626 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.6821, allocations: 23.94 kB / 0.6626 GB, free: 11.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008679/0.683, allocations: 0.5146 MB / 0.6631 GB, free: 10.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.683, allocations: 0 / 0.6631 GB, free: 10.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002/0.685, allocations: 0.5578 MB / 0.6637 GB, free: 10.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * 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 (42): * Single equations (assignments): 41 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003186/0.6854, allocations: 151.1 kB / 0.6638 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/0.6956, allocations: 3.859 MB / 0.6676 GB, free: 6.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6956, allocations: 4 kB / 0.6676 GB, free: 6.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00428/0.6999, allocations: 1.606 MB / 0.6691 GB, free: 4.492 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.701, allocations: 87.28 kB / 0.6692 GB, free: 4.406 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.7061, allocations: 2.23 MB / 0.6714 GB, free: 2.152 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.7069, allocations: 1.038 MB / 0.6724 GB, free: 1.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004539/0.7074, allocations: 93.03 kB / 0.6725 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.7075, allocations: 43.42 kB / 0.6726 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7075, allocations: 0 / 0.6726 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of Templates: time 0.2471/0.9547, allocations: 24.95 MB / 0.6969 GB, free: 128.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Loads.PSAT.LoadTestThLoad.pipe 2>&1)