Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008858/0.0008857, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3399/0.3399, allocations: 50.18 MB / 320.6 MB, free: 3.355 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006473, allocations: 26.81 kB / 390.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1151, allocations: 59.32 MB / 449.7 MB, free: 5.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.002549/0.1177, allocations: 1.965 MB / 451.7 MB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1205, allocations: 2.01 MB / 453.7 MB, free: 1.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.1208, allocations: 12 kB / 453.7 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.121, allocations: 71.28 kB / 453.7 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.1214, allocations: 175.4 kB / 453.9 MB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.1228, allocations: 0.6229 MB / 454.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.1234, allocations: 0.4954 MB / 455 MB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1803/0.3038, allocations: 201.5 kB / 455.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006177/0.3044, allocations: 361 kB / 455.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.3052, allocations: 0.495 MB / 456.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.3055, allocations: 47.88 kB / 456.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.3059, allocations: 119.6 kB / 456.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3061, allocations: 180.2 kB / 456.4 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.3063, allocations: 138.7 kB / 456.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007264/0.307, allocations: 0.7973 MB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.307, allocations: 0 / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.307, allocations: 2.688 kB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.307, allocations: 0 / 457.4 MB, free: 38.35 MB / 382.1 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.005815/0.3129, allocations: 1.947 MB / 459.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3129, allocations: 9.125 kB / 459.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/0.3169, allocations: 0.6548 MB / 460 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.3179, allocations: 0.5863 MB / 460.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3181, allocations: 220.6 kB / 460.8 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.3182, allocations: 69.72 kB / 460.8 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3199, allocations: 0.998 MB / 461.8 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.32, allocations: 0.7031 kB / 461.8 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.094e-05/0.32, allocations: 27 kB / 461.9 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3201, allocations: 17.22 kB / 461.9 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3218, allocations: 0.9784 MB / 462.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.3263, allocations: 3.205 MB / 466.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.328, allocations: 0.8789 MB / 466.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-05/0.3281, allocations: 12.34 kB / 466.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3281, allocations: 43.38 kB / 467 MB, free: 36.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.3281, allocations: 0 / 467 MB, free: 36.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02496/0.3531, allocations: 8.088 MB / 475.1 MB, free: 35.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.3532, allocations: 65.23 kB / 475.1 MB, free: 35.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.354, allocations: 0.6025 MB / 475.7 MB, free: 35.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.3542, allocations: 42.39 kB / 475.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3544, allocations: 351.7 kB / 476.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.3546, allocations: 273.4 kB / 476.4 MB, free: 34.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.3547, allocations: 15.12 kB / 476.4 MB, free: 34.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.3548, allocations: 384.9 kB / 476.8 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.356, allocations: 0.5973 MB / 477.4 MB, free: 34.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3572, allocations: 0.6886 MB / 478.1 MB, free: 33.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.3585, allocations: 0.643 MB / 478.7 MB, free: 33.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3585, allocations: 1.094 kB / 478.7 MB, free: 33.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01359/0.3721, allocations: 4.621 MB / 483.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.3722, allocations: 9.469 kB / 483.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3722, allocations: 3.219 kB / 483.4 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/0.3792, allocations: 2.102 MB / 485.5 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.3799, allocations: 93.09 kB / 485.5 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.4033, allocations: 9.942 MB / 495.5 MB, free: 28.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4046, allocations: 161.9 kB / 495.6 MB, free: 28.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.4048, allocations: 27.75 kB / 495.7 MB, free: 28.12 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" 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 () * Number of clocked 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.000528/0.4054, allocations: 207.9 kB / 495.9 MB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.4056, allocations: 75.12 kB / 495.9 MB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.4189, allocations: 4.671 MB / 0.4889 GB, free: 26.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.419, allocations: 16.19 kB / 0.4889 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.419, allocations: 1.375 kB / 0.4889 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.419, allocations: 3.984 kB / 0.4889 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.4203, allocations: 1.057 MB / 0.4899 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4204, allocations: 0 / 0.4899 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.4208, allocations: 75.91 kB / 0.49 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005414/0.4263, allocations: 2.026 MB / 0.492 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.4264, allocations: 23.78 kB / 0.492 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.4429, allocations: 8.626 MB / 0.5004 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.443, allocations: 0 / 0.5004 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.4563, allocations: 5.544 MB / 0.5059 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4566, allocations: 172 kB / 0.506 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.4569, allocations: 16 kB / 0.506 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.458, allocations: 119.8 kB / 0.5061 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006102/0.4586, allocations: 188.7 kB / 0.5063 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/0.4587, allocations: 16.5 kB / 0.5063 GB, free: 8.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005074/0.4592, allocations: 438.8 kB / 0.5068 GB, free: 8.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4592, allocations: 0 / 0.5068 GB, free: 8.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.4605, allocations: 339.5 kB / 0.5071 GB, free: 7.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_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 (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.0002569/0.4608, allocations: 133.7 kB / 0.5072 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005791/0.4666, allocations: 2.366 MB / 0.5095 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4666, allocations: 0 / 0.5095 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004064/0.4707, allocations: 1.662 MB / 0.5111 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4712, allocations: 57.05 kB / 0.5112 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4738, allocations: 1.826 MB / 0.513 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4742, allocations: 0.9778 MB / 0.5139 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.4745, allocations: 64.91 kB / 0.514 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4747, allocations: 43.42 kB / 0.514 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4747, allocations: 4 kB / 0.514 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of Templates: time 0.02869/0.5034, allocations: 18.48 MB / 0.5321 GB, free: 14.04 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.pipe 2>&1) Environment - environmentSimulation: