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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009672/0.0009673, allocations: 100.1 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.00107/0.00107, 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.31/1.31, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.348/0.348, allocations: 50.2 MB / 320.6 MB, free: 3.379 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.0006703/0.0006704, allocations: 20 kB / 390.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1101, allocations: 59.31 MB / 449.7 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.002476/0.1126, allocations: 1.954 MB / 451.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1156, allocations: 2.002 MB / 453.6 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.1159, allocations: 8 kB / 453.6 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1162, allocations: 75.28 kB / 453.7 MB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.1166, allocations: 171.4 kB / 453.9 MB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1179, allocations: 0.6262 MB / 454.5 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.1185, allocations: 499.3 kB / 455 MB, free: 164 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1792/0.2977, allocations: 197.9 kB / 455.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.2986, allocations: 348.6 kB / 455.5 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2992, allocations: 487.9 kB / 456 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.351e-05/0.2993, allocations: 46.16 kB / 456 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.2996, allocations: 120.2 kB / 456.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2997, allocations: 179 kB / 456.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2998, allocations: 134.9 kB / 456.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.3005, allocations: 0.778 MB / 457.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.3005, allocations: 4.375 kB / 457.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3005, allocations: 0 / 457.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3006, allocations: 0 / 457.3 MB, free: 38.33 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.005814/0.3064, allocations: 1.894 MB / 459.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3064, allocations: 13.33 kB / 459.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/0.3106, allocations: 0.666 MB / 459.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.3115, allocations: 0.5546 MB / 460.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.3117, allocations: 223.5 kB / 460.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3118, allocations: 71.34 kB / 460.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.3136, allocations: 0.9906 MB / 461.7 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3136, allocations: 4 kB / 461.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.3137, allocations: 26.91 kB / 461.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.3137, allocations: 15.92 kB / 461.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.3155, allocations: 0.9775 MB / 462.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.3199, allocations: 3.166 MB / 465.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.3216, allocations: 0.8712 MB / 466.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.3217, allocations: 15.81 kB / 466.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3217, allocations: 38.75 kB / 466.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.087e-06/0.3217, allocations: 0.6094 kB / 466.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02401/0.3457, allocations: 7.753 MB / 474.5 MB, free: 35.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3458, allocations: 62.98 kB / 474.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/0.3467, allocations: 0.5728 MB / 475.2 MB, free: 35.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.3468, allocations: 44.27 kB / 475.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.3471, allocations: 353.6 kB / 475.6 MB, free: 35.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.3473, allocations: 270.7 kB / 475.8 MB, free: 34.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.3473, allocations: 18.94 kB / 475.8 MB, free: 34.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.3474, allocations: 382.6 kB / 476.2 MB, free: 34.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.3486, allocations: 0.5979 MB / 476.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.3499, allocations: 0.6891 MB / 477.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3512, allocations: 0.6424 MB / 478.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3512, allocations: 2.031 kB / 478.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01388/0.3651, allocations: 4.613 MB / 482.8 MB, free: 32.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3651, allocations: 5.625 kB / 482.8 MB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3652, allocations: 6.312 kB / 482.8 MB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/0.3719, allocations: 2.1 MB / 484.9 MB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.3724, allocations: 97.97 kB / 485 MB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.3946, allocations: 9.935 MB / 494.9 MB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.3959, allocations: 159 kB / 495.1 MB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.396, allocations: 28.55 kB / 495.1 MB, free: 28.25 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_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.0003805/0.3963, allocations: 207.3 kB / 495.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3965, allocations: 76.98 kB / 495.4 MB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.4095, allocations: 4.637 MB / 500 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4095, allocations: 12.2 kB / 0.4883 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4095, allocations: 0 / 0.4883 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4096, allocations: 9.297 kB / 0.4883 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.4107, allocations: 1.035 MB / 0.4893 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4107, allocations: 0 / 0.4893 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.4111, allocations: 81.7 kB / 0.4894 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005476/0.4166, allocations: 2.032 MB / 0.4914 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.4167, allocations: 19.94 kB / 0.4914 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.4328, allocations: 8.63 MB / 0.4998 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4328, allocations: 4 kB / 0.4998 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/0.4459, allocations: 5.513 MB / 0.5052 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.4462, allocations: 164.1 kB / 0.5054 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4463, allocations: 16 kB / 0.5054 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.4472, allocations: 123.8 kB / 0.5055 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/0.4477, allocations: 184.7 kB / 0.5057 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.4477, allocations: 20.83 kB / 0.5057 GB, free: 9.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.4481, allocations: 414.8 kB / 0.5061 GB, free: 8.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4482, allocations: 0 / 0.5061 GB, free: 8.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.4492, allocations: 339.5 kB / 0.5064 GB, free: 8.387 MB / 382.1 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 (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.0002229/0.4495, allocations: 125.8 kB / 0.5065 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005473/0.4549, allocations: 2.371 MB / 0.5088 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.455, allocations: 4 kB / 0.5088 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.459, allocations: 1.661 MB / 0.5105 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.4594, allocations: 53.67 kB / 0.5105 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.4616, allocations: 1.775 MB / 0.5123 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.462, allocations: 0.9856 MB / 0.5132 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.4622, allocations: 57.62 kB / 0.5133 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4624, allocations: 51.42 kB / 0.5133 GB, free: 1.266 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4624, allocations: 0 / 0.5133 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Templates: time 0.02571/0.4881, allocations: 18.26 MB / 0.5312 GB, free: 15.01 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: