Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001466/0.001466, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.491/1.491, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001532/0.001532, allocations: 111.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2127/0.2127, allocations: 50.07 MB / 307.2 MB, free: 13.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 0 / 363.9 MB, free: 24.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 50.52 MB / 414.4 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.463, allocations: 74.75 MB / 489.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001587/0.4632, allocations: 64.16 kB / 489.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03486/0.4981, allocations: 14.45 MB / 0.4919 GB, free: 6.707 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4982, allocations: 0 / 0.4919 GB, free: 6.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.4982, allocations: 11.16 kB / 0.4919 GB, free: 6.707 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003597/0.5018, allocations: 1.374 MB / 0.4932 GB, free: 5.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5018, allocations: 11.72 kB / 0.4932 GB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.5046, allocations: 472.3 kB / 0.4937 GB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.5054, allocations: 0.5656 MB / 0.4942 GB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.5056, allocations: 194.6 kB / 0.4944 GB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5058, allocations: 38 kB / 0.4944 GB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/0.5069, allocations: 0.7401 MB / 0.4952 GB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.508, allocations: 0.6993 MB / 0.4959 GB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5081, allocations: 3.938 kB / 0.4959 GB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.5081, allocations: 0 / 0.4959 GB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5082, allocations: 23.14 kB / 0.4959 GB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.5126, allocations: 3.079 MB / 0.4989 GB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.5136, allocations: 0.6445 MB / 0.4995 GB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/0.5142, allocations: 0.5006 MB / 0.5 GB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.5143, allocations: 11.98 kB / 0.5 GB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.5144, allocations: 42.45 kB / 0.5001 GB, free: 3.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 1.943e-06/0.5144, allocations: 0 / 0.5001 GB, free: 3.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.01133/0.5257, allocations: 3.919 MB / 0.5039 GB, free: 2.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.5258, allocations: 59.91 kB / 0.5039 GB, free: 2.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.5262, allocations: 479 kB / 0.5044 GB, free: 1.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.5263, allocations: 25.7 kB / 0.5044 GB, free: 1.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5265, allocations: 341.4 kB / 0.5047 GB, free: 1.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.5266, allocations: 273.2 kB / 0.505 GB, free: 1.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.5267, allocations: 0 / 0.505 GB, free: 1.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.5268, allocations: 373 kB / 0.5054 GB, free: 1.176 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.5273, allocations: 396.5 kB / 0.5057 GB, free: 1.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.5279, allocations: 485.7 kB / 0.5062 GB, free: 1.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.5286, allocations: 469.8 kB / 0.5067 GB, free: 1.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5286, allocations: 0 / 0.5067 GB, free: 1.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01174/0.5403, allocations: 4.003 MB / 0.5106 GB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5404, allocations: 4 kB / 0.5106 GB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5404, allocations: 4 kB / 0.5106 GB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005628/0.546, allocations: 1.702 MB / 0.5122 GB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.5465, allocations: 91.41 kB / 0.5123 GB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.5605, allocations: 7.026 MB / 0.5192 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.5617, allocations: 147.2 kB / 0.5193 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.5618, allocations: 20 kB / 0.5193 GB, free: 7.18 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003332/0.5622, allocations: 141.1 kB / 0.5195 GB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5623, allocations: 71.16 kB / 0.5195 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.5749, allocations: 4.021 MB / 0.5235 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.575, allocations: 12 kB / 0.5235 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.575, allocations: 0 / 0.5235 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.575, allocations: 3.984 kB / 0.5235 GB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5765, allocations: 0.946 MB / 0.5244 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5765, allocations: 0 / 0.5244 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.577, allocations: 79.91 kB / 0.5245 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/0.5822, allocations: 1.636 MB / 0.5261 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.529e-05/0.5823, allocations: 4 kB / 0.5261 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.5949, allocations: 6.163 MB / 0.5321 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/0.595, allocations: 7.922 kB / 0.5321 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.6085, allocations: 4.694 MB / 0.5367 GB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.6088, allocations: 168.1 kB / 0.5369 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.609, allocations: 3.953 kB / 0.5369 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.61, allocations: 95.91 kB / 0.537 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/0.6106, allocations: 192.4 kB / 0.5371 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6107, allocations: 24 kB / 0.5372 GB, free: 4.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.6112, allocations: 378.9 kB / 0.5375 GB, free: 4.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6112, allocations: 0 / 0.5375 GB, free: 4.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001155/0.6123, allocations: 307.5 kB / 0.5378 GB, free: 4.043 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0002598/0.6126, allocations: 119.2 kB / 0.5379 GB, free: 3.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005091/0.6177, allocations: 1.889 MB / 0.5398 GB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6177, allocations: 0 / 0.5398 GB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004134/0.6219, allocations: 1.399 MB / 0.5411 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.6223, allocations: 42.08 kB / 0.5412 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.6248, allocations: 1.096 MB / 0.5422 GB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.6253, allocations: 0.9817 MB / 0.5432 GB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003124/0.6257, allocations: 60.81 kB / 0.5433 GB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.6258, allocations: 43.44 kB / 0.5433 GB, free: 14.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.054e-06/0.6259, allocations: 0 / 0.5433 GB, free: 14.34 MB / 378.7 MB Notification: Performance of Templates: time 0.02829/0.6542, allocations: 17.05 MB / 0.56 GB, free: 13.29 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1)