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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4135/0.4135, allocations: 50.2 MB / 319.5 MB, free: 2.477 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.001948/0.001949, allocations: 75.89 kB / 388.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 58.22 MB / 446.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.00415/0.184, allocations: 2.455 MB / 449.2 MB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.1882, allocations: 2.111 MB / 451.3 MB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.1885, allocations: 8 kB / 451.3 MB, free: 2.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.189, allocations: 99.33 kB / 451.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.1894, allocations: 171.1 kB / 451.6 MB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.1911, allocations: 0.7121 MB / 452.3 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.192, allocations: 0.8304 MB / 453.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.1924, allocations: 226.9 kB / 453.3 MB, free: 340 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2946/0.487, allocations: 392.5 kB / 453.7 MB, free: 39.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.4881, allocations: 0.5476 MB / 454.3 MB, free: 39.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.4883, allocations: 58.28 kB / 454.3 MB, free: 39.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.4887, allocations: 147.5 kB / 454.5 MB, free: 39.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.4889, allocations: 202.3 kB / 454.7 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.4893, allocations: 400.9 kB / 455.1 MB, free: 39.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.4903, allocations: 1.074 MB / 456.1 MB, free: 39.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4903, allocations: 1.156 kB / 456.1 MB, free: 39.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4904, allocations: 0.75 kB / 456.1 MB, free: 39.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4904, allocations: 0 / 456.1 MB, free: 39.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.006727/0.4971, allocations: 2.053 MB / 458.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4972, allocations: 8.688 kB / 458.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.5014, allocations: 0.6559 MB / 458.9 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.5022, allocations: 0.6034 MB / 459.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.5024, allocations: 222 kB / 459.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.5026, allocations: 67.16 kB / 459.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.5044, allocations: 0.9345 MB / 460.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5044, allocations: 0 / 460.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/0.5045, allocations: 28.91 kB / 460.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5045, allocations: 17.91 kB / 460.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.5063, allocations: 0.9243 MB / 461.7 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.5112, allocations: 3.167 MB / 464.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5127, allocations: 0.8103 MB / 465.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.5139, allocations: 0.6555 MB / 466.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.514, allocations: 20.64 kB / 466.3 MB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.514, allocations: 41.75 kB / 466.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 1.934e-06/0.514, allocations: 0 / 466.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.025/0.539, allocations: 6.545 MB / 472.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5391, allocations: 60.97 kB / 473 MB, free: 35.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/0.5401, allocations: 0.6142 MB / 473.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.5403, allocations: 40.8 kB / 473.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.5405, allocations: 349.5 kB / 473.9 MB, free: 34.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5409, allocations: 272.9 kB / 474.2 MB, free: 34.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.5411, allocations: 123.8 kB / 474.3 MB, free: 34.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5413, allocations: 386.9 kB / 474.7 MB, free: 34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5424, allocations: 0.5426 MB / 475.3 MB, free: 33.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.5435, allocations: 0.6425 MB / 475.9 MB, free: 33.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/0.5591, allocations: 3.848 MB / 479.7 MB, free: 32.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.5592, allocations: 0 / 479.7 MB, free: 32.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01375/0.5729, allocations: 3.703 MB / 483.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.573, allocations: 5.859 kB / 483.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.5731, allocations: 2.844 kB / 483.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/0.58, allocations: 1.708 MB / 485.2 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.5806, allocations: 97.8 kB / 485.3 MB, free: 31.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.6016, allocations: 8.424 MB / 493.7 MB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.6029, allocations: 120.3 kB / 493.8 MB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.603, allocations: 26.92 kB / 493.8 MB, free: 27.05 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.0004365/0.6035, allocations: 220.5 kB / 494 MB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.6036, allocations: 74.34 kB / 494.1 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.6159, allocations: 3.793 MB / 497.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.616, allocations: 8.312 kB / 497.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.616, allocations: 3.984 kB / 497.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/0.616, allocations: 5.672 kB / 497.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.6177, allocations: 1.05 MB / 499 MB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6177, allocations: 1.344 kB / 499 MB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.6182, allocations: 78.72 kB / 499.1 MB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.6242, allocations: 1.719 MB / 0.489 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.6244, allocations: 23.67 kB / 0.4891 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/0.6408, allocations: 7.322 MB / 0.4962 GB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6408, allocations: 0 / 0.4962 GB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.6538, allocations: 4.611 MB / 0.5007 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6543, allocations: 172 kB / 0.5009 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6544, allocations: 16 kB / 0.5009 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/0.6554, allocations: 83.89 kB / 0.501 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006323/0.6561, allocations: 176.7 kB / 0.5011 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.6562, allocations: 31.92 kB / 0.5012 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005354/0.6567, allocations: 438.8 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.6567, allocations: 0 / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001336/0.6581, allocations: 338.5 kB / 0.5019 GB, free: 11.88 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.0003337/0.6584, allocations: 124.6 kB / 0.502 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.6638, allocations: 2.067 MB / 0.504 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6639, allocations: 0 / 0.504 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004214/0.6681, allocations: 1.441 MB / 0.5055 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.6689, allocations: 74.8 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.6725, allocations: 1.844 MB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6731, allocations: 0.974 MB / 0.5083 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.6735, allocations: 64 kB / 0.5083 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.6737, allocations: 43.44 kB / 0.5084 GB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.6737, allocations: 0 / 0.5084 GB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.03328/0.707, allocations: 19.37 MB / 0.5273 GB, free: 1.902 MB / 398.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.makefile (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)