Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001057/0.001057, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.185/1.185, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001577/0.001577, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2183/0.2183, allocations: 49.9 MB / 312.3 MB, free: 9.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.553e-05/2.558e-05, allocations: 4 kB / 370.7 MB, free: 19.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.07931, allocations: 50.51 MB / 421.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.3743, allocations: 75.56 MB / 496.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001581/0.3745, allocations: 66.09 kB / 496.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.414, allocations: 16.5 MB / 0.5013 GB, free: 4.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4141, allocations: 4 kB / 0.5013 GB, free: 4.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.4141, allocations: 16 kB / 0.5013 GB, free: 4.816 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003501/0.4176, allocations: 1.409 MB / 0.5027 GB, free: 3.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4177, allocations: 8.031 kB / 0.5027 GB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.4204, allocations: 478.1 kB / 0.5032 GB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.4212, allocations: 0.5862 MB / 0.5037 GB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.4214, allocations: 230.7 kB / 0.5039 GB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.4216, allocations: 65.19 kB / 0.504 GB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.4228, allocations: 0.804 MB / 0.5048 GB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4228, allocations: 3.984 kB / 0.5048 GB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/0.4229, allocations: 30.7 kB / 0.5048 GB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4229, allocations: 16 kB / 0.5048 GB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4241, allocations: 0.78 MB / 0.5056 GB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.4292, allocations: 3.279 MB / 0.5088 GB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.4305, allocations: 0.6935 MB / 0.5095 GB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.4312, allocations: 0.5282 MB / 0.51 GB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4313, allocations: 20.7 kB / 0.51 GB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4314, allocations: 38.59 kB / 0.5101 GB, free: 13.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.176e-06/0.4314, allocations: 0 / 0.5101 GB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=79): time 0.01231/0.4437, allocations: 3.935 MB / 0.5139 GB, free: 10.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4438, allocations: 60.19 kB / 0.514 GB, free: 10.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008958/0.4447, allocations: 0.5613 MB / 0.5145 GB, free: 10.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.4449, allocations: 35.7 kB / 0.5145 GB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.4452, allocations: 358.3 kB / 0.5149 GB, free: 9.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.4455, allocations: 282.3 kB / 0.5151 GB, free: 9.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.4455, allocations: 16 kB / 0.5152 GB, free: 9.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4457, allocations: 382.2 kB / 0.5155 GB, free: 9.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.4464, allocations: 415.2 kB / 0.5159 GB, free: 8.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.4472, allocations: 0.5069 MB / 0.5164 GB, free: 8.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.4479, allocations: 467.8 kB / 0.5169 GB, free: 8.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4479, allocations: 0 / 0.5169 GB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01201/0.46, allocations: 4.057 MB / 0.5208 GB, free: 4.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.46, allocations: 4 kB / 0.5208 GB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4601, allocations: 4 kB / 0.5208 GB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/0.4657, allocations: 1.745 MB / 0.5225 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.4664, allocations: 91.84 kB / 0.5226 GB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.481, allocations: 7.243 MB / 0.5297 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4823, allocations: 155.3 kB / 0.5298 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.4824, allocations: 24 kB / 0.5299 GB, free: 13.36 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.000242/0.4826, allocations: 150.3 kB / 0.53 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.4828, allocations: 79.02 kB / 0.5301 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.4952, allocations: 4.087 MB / 0.5341 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.4952, allocations: 19.94 kB / 0.5341 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4952, allocations: 0 / 0.5341 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.4953, allocations: 3.984 kB / 0.5341 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.497, allocations: 1.074 MB / 0.5352 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.497, allocations: 0 / 0.5352 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.4975, allocations: 79.89 kB / 0.5352 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005221/0.5028, allocations: 1.652 MB / 0.5368 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.503, allocations: 12 kB / 0.5369 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.5169, allocations: 6.301 MB / 0.543 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5169, allocations: 3.938 kB / 0.543 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.5309, allocations: 4.772 MB / 0.5477 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.5313, allocations: 172 kB / 0.5478 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.5315, allocations: 16 kB / 0.5478 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5327, allocations: 115.9 kB / 0.548 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/0.5333, allocations: 184.4 kB / 0.5481 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.5334, allocations: 20.12 kB / 0.5482 GB, free: 10.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006632/0.5341, allocations: 459.1 kB / 0.5486 GB, free: 9.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5341, allocations: 4 kB / 0.5486 GB, free: 9.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001243/0.5353, allocations: 351.5 kB / 0.5489 GB, free: 9.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.0003643/0.5357, allocations: 154.8 kB / 0.5491 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005473/0.5412, allocations: 1.956 MB / 0.551 GB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5412, allocations: 0 / 0.551 GB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004162/0.5454, allocations: 1.458 MB / 0.5524 GB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.546, allocations: 58.98 kB / 0.5525 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.5488, allocations: 1.196 MB / 0.5536 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.5495, allocations: 0.9937 MB / 0.5546 GB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003469/0.5498, allocations: 60.94 kB / 0.5547 GB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.5501, allocations: 51.42 kB / 0.5547 GB, free: 3.586 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5501, allocations: 0 / 0.5547 GB, free: 3.586 MB / 378.7 MB Notification: Performance of Templates: time 0.03231/0.5824, allocations: 18.73 MB / 0.573 GB, free: 0.8672 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order6test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1)