Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.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.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order5test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 172.8 kB / 16.12 MB, free: 5.551 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.423/1.423, 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.0007754/0.0007754, allocations: 93.17 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3054/0.3054, allocations: 42.28 MB / 361.2 MB, free: 49.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004147, allocations: 23.98 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 57.55 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.4326, allocations: 92.51 MB / 0.5659 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.4329, allocations: 83.94 kB / 0.566 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06293/0.4958, allocations: 22.99 MB / 0.5884 GB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4959, allocations: 0 / 0.5884 GB, free: 8.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.584e-05/0.496, allocations: 19.94 kB / 0.5885 GB, free: 8.09 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005339/0.5013, allocations: 1.798 MB / 0.5902 GB, free: 6.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5014, allocations: 12.03 kB / 0.5902 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.5048, allocations: 0.5448 MB / 0.5908 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.5066, allocations: 0.7266 MB / 0.5915 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/0.5071, allocations: 260.2 kB / 0.5917 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.5074, allocations: 68 kB / 0.5918 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.5101, allocations: 1.034 MB / 0.5928 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5101, allocations: 3.938 kB / 0.5928 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.5102, allocations: 32 kB / 0.5928 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.5102, allocations: 16 kB / 0.5928 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.5126, allocations: 1.062 MB / 0.5939 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.5189, allocations: 3.272 MB / 0.5971 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.5211, allocations: 1.392 MB / 0.5984 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.5226, allocations: 0.7929 MB / 0.5992 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.5227, allocations: 12.98 kB / 0.5992 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5227, allocations: 43.55 kB / 0.5993 GB, free: 12.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.5227, allocations: 0 / 0.5993 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=84): time 0.02607/0.5488, allocations: 8.149 MB / 0.6072 GB, free: 4.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5489, allocations: 60.41 kB / 0.6073 GB, free: 4.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.5501, allocations: 0.7755 MB / 0.608 GB, free: 3.555 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.5503, allocations: 37.7 kB / 0.6081 GB, free: 3.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.5507, allocations: 448.3 kB / 0.6085 GB, free: 3.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.5511, allocations: 299.6 kB / 0.6088 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.5512, allocations: 16 kB / 0.6088 GB, free: 2.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5513, allocations: 338 kB / 0.6091 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.5527, allocations: 0.6383 MB / 0.6097 GB, free: 1.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.5543, allocations: 0.7531 MB / 0.6105 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.568, allocations: 4.338 MB / 0.6147 GB, free: 12.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5681, allocations: 0 / 0.6147 GB, free: 12.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01419/0.5823, allocations: 4.813 MB / 0.6194 GB, free: 7.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.5823, allocations: 4 kB / 0.6194 GB, free: 7.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5824, allocations: 7.938 kB / 0.6194 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007114/0.5895, allocations: 2.202 MB / 0.6216 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.5901, allocations: 123.8 kB / 0.6217 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.6133, allocations: 10.97 MB / 0.6324 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6149, allocations: 175.2 kB / 0.6326 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.6151, allocations: 31.98 kB / 0.6326 GB, free: 10.01 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006864/0.6158, allocations: 223.8 kB / 0.6328 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.6161, allocations: 102.8 kB / 0.6329 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.6292, allocations: 4.764 MB / 0.6376 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.6293, allocations: 12 kB / 0.6376 GB, free: 4.891 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6293, allocations: 8 kB / 0.6376 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.6294, allocations: 3.984 kB / 0.6376 GB, free: 4.879 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.6459, allocations: 6.274 MB / 0.6437 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.646, allocations: 0 / 0.6437 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.6467, allocations: 99.89 kB / 0.6438 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006271/0.6529, allocations: 2.059 MB / 0.6458 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.6532, allocations: 16 kB / 0.6458 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.6715, allocations: 8.202 MB / 0.6539 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6716, allocations: 0 / 0.6539 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.6868, allocations: 5.708 MB / 0.6594 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.6873, allocations: 199.6 kB / 0.6596 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.6876, allocations: 16 kB / 0.6596 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6888, allocations: 127.9 kB / 0.6598 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007131/0.6895, allocations: 200.6 kB / 0.6599 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6896, allocations: 16 kB / 0.66 GB, free: 13.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008591/0.6905, allocations: 0.5421 MB / 0.6605 GB, free: 13.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6905, allocations: 4 kB / 0.6605 GB, free: 13.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001426/0.6919, allocations: 403.5 kB / 0.6609 GB, free: 12.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.6923, allocations: 143 kB / 0.661 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006506/0.6988, allocations: 2.556 MB / 0.6635 GB, free: 9.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6988, allocations: 8.062 kB / 0.6635 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004558/0.7034, allocations: 1.704 MB / 0.6652 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.7044, allocations: 76.28 kB / 0.6653 GB, free: 8.164 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.7081, allocations: 2.199 MB / 0.6674 GB, free: 5.949 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.7088, allocations: 1.044 MB / 0.6684 GB, free: 4.875 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.7091, allocations: 61.22 kB / 0.6685 GB, free: 4.812 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.7093, allocations: 47.44 kB / 0.6685 GB, free: 4.766 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7093, allocations: 0 / 0.6685 GB, free: 4.766 MB / 490.7 MB Notification: Performance of Templates: time 0.2374/0.9468, allocations: 19.31 MB / 0.6874 GB, free: 128.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order5test2.pipe 2>&1)