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.0007523/0.0007525, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005687/0.005687, allocations: 174.6 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3619/0.3619, allocations: 50.2 MB / 320.9 MB, free: 3.281 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.0007432/0.0007432, allocations: 31.03 kB / 391 MB, free: 432 kB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1455, allocations: 59.31 MB / 450.3 MB, free: 5.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.002734/0.1483, allocations: 2.078 MB / 452.4 MB, free: 2.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.1521, allocations: 2.099 MB / 454.5 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006328/0.1527, allocations: 8 kB / 454.5 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.1532, allocations: 87.34 kB / 454.6 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008405/0.154, allocations: 175.1 kB / 454.8 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2608/0.4149, allocations: 0.6888 MB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.4165, allocations: 0.8406 MB / 456.3 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.4169, allocations: 221.5 kB / 456.5 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.4172, allocations: 370.6 kB / 456.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006027/0.4179, allocations: 0.5257 MB / 457.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.418, allocations: 46.38 kB / 457.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.4183, allocations: 140.8 kB / 457.6 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4185, allocations: 182.7 kB / 457.8 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.4187, allocations: 414.9 kB / 458.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007985/0.4196, allocations: 1.045 MB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4196, allocations: 0.5625 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4196, allocations: 1.094 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4196, allocations: 0 / 459.2 MB, free: 38 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.006037/0.4256, allocations: 1.92 MB / 461.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4257, allocations: 8.812 kB / 461.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.4297, allocations: 0.6663 MB / 461.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007861/0.4305, allocations: 0.6134 MB / 462.4 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.4307, allocations: 219.1 kB / 462.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.4309, allocations: 69.08 kB / 462.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.4327, allocations: 0.9998 MB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.4328, allocations: 6.281 kB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.4329, allocations: 25.91 kB / 463.7 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.4329, allocations: 16.34 kB / 463.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.4348, allocations: 0.9862 MB / 464.7 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0047/0.4395, allocations: 3.212 MB / 468 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.4413, allocations: 0.8723 MB / 468.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.4427, allocations: 0.7195 MB / 469.5 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.729e-05/0.4428, allocations: 18.3 kB / 469.6 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4428, allocations: 44.75 kB / 469.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.4428, allocations: 0 / 469.6 MB, free: 35.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02717/0.47, allocations: 8.131 MB / 477.7 MB, free: 34.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.4701, allocations: 60.34 kB / 477.8 MB, free: 34.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.4712, allocations: 0.6172 MB / 478.4 MB, free: 33.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.4713, allocations: 36.92 kB / 478.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.4715, allocations: 350.5 kB / 478.8 MB, free: 33.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.4718, allocations: 272.9 kB / 479.1 MB, free: 33.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.472, allocations: 69.31 kB / 479.1 MB, free: 33.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4721, allocations: 383.5 kB / 479.5 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4734, allocations: 0.599 MB / 480.1 MB, free: 32.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4749, allocations: 0.7053 MB / 480.8 MB, free: 32.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/0.4905, allocations: 4.29 MB / 485.1 MB, free: 31.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4906, allocations: 0 / 485.1 MB, free: 31.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01459/0.5052, allocations: 4.593 MB / 489.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5052, allocations: 6.656 kB / 489.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5053, allocations: 3.094 kB / 489.7 MB, free: 30.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006849/0.5121, allocations: 2.022 MB / 491.7 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.5128, allocations: 98.06 kB / 491.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/0.5357, allocations: 9.412 MB / 0.4895 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5372, allocations: 156.8 kB / 0.4896 GB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.5373, allocations: 27.53 kB / 0.4897 GB, free: 25.43 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order5Type2_Inputs_Outputs.delta0 fixed = true ) "Rotor angle (deg)" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.5378, allocations: 216.5 kB / 0.4899 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.538, allocations: 81.8 kB / 0.4899 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.5509, allocations: 4.672 MB / 0.4945 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5509, allocations: 8 kB / 0.4945 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5509, allocations: 7.844 kB / 0.4945 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.551, allocations: 3.984 kB / 0.4945 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5522, allocations: 1.057 MB / 0.4956 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5522, allocations: 0 / 0.4956 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.5527, allocations: 83.03 kB / 0.4956 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/0.5583, allocations: 2.03 MB / 0.4976 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.5584, allocations: 20 kB / 0.4976 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.5749, allocations: 8.181 MB / 0.5056 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5749, allocations: 4 kB / 0.5056 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/0.5892, allocations: 5.559 MB / 0.5111 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.5895, allocations: 172.1 kB / 0.5112 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.5897, allocations: 16 kB / 0.5112 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/0.5906, allocations: 127.7 kB / 0.5114 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005277/0.5912, allocations: 176.7 kB / 0.5115 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.5912, allocations: 23.98 kB / 0.5116 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004616/0.5917, allocations: 434.8 kB / 0.512 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5917, allocations: 0 / 0.512 GB, free: 2.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00105/0.5928, allocations: 335.6 kB / 0.5123 GB, free: 2.211 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.593, allocations: 127.1 kB / 0.5124 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00597/0.599, allocations: 2.334 MB / 0.5147 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.599, allocations: 0.5 kB / 0.5147 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00504/0.6041, allocations: 1.67 MB / 0.5163 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.6049, allocations: 80.06 kB / 0.5164 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.6084, allocations: 1.857 MB / 0.5182 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.6092, allocations: 0.9623 MB / 0.5191 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.6095, allocations: 64.91 kB / 0.5192 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.6097, allocations: 47.42 kB / 0.5193 GB, free: 11.01 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6097, allocations: 0 / 0.5193 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Templates: time 0.03195/0.6417, allocations: 18.89 MB / 0.5377 GB, free: 8.141 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: