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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, 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.001271/0.001271, allocations: 194.8 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.708/1.708, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4221/0.4221, allocations: 50.19 MB / 319.5 MB, free: 2.504 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.001724/0.001724, allocations: 80.73 kB / 388.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1616, allocations: 58.23 MB / 446.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.003556/0.1652, allocations: 2.498 MB / 449.2 MB, free: 4.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.1686, allocations: 2.134 MB / 451.4 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.1689, allocations: 8 kB / 451.4 MB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.1693, allocations: 91.39 kB / 451.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.1698, allocations: 187.1 kB / 451.7 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.1714, allocations: 0.6935 MB / 452.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.1723, allocations: 0.8654 MB / 453.2 MB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.1727, allocations: 234.9 kB / 453.5 MB, free: 220 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3007/0.4734, allocations: 389.7 kB / 453.8 MB, free: 39.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.4745, allocations: 0.5669 MB / 454.4 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.4747, allocations: 58.44 kB / 454.5 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.475, allocations: 154.2 kB / 454.6 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4752, allocations: 202.3 kB / 454.8 MB, free: 39.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.4756, allocations: 414.2 kB / 455.2 MB, free: 39.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009762/0.4766, allocations: 1.101 MB / 456.3 MB, free: 39.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4766, allocations: 0 / 456.3 MB, free: 39.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4766, allocations: 1.156 kB / 456.3 MB, free: 39.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.4766, allocations: 0 / 456.3 MB, free: 39.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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006627/0.4832, allocations: 2.08 MB / 458.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4833, allocations: 9.875 kB / 458.4 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004064/0.4874, allocations: 0.6604 MB / 459.1 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.4883, allocations: 0.6203 MB / 459.7 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4885, allocations: 211 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.4886, allocations: 74 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.4904, allocations: 0.9515 MB / 460.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4905, allocations: 2.938 kB / 460.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.4906, allocations: 22.25 kB / 460.9 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4906, allocations: 17.19 kB / 461 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.4925, allocations: 0.9321 MB / 461.9 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006005/0.4985, allocations: 3.202 MB / 465.1 MB, free: 37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.5003, allocations: 0.8305 MB / 465.9 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.5015, allocations: 0.6672 MB / 466.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.5016, allocations: 10.11 kB / 466.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5017, allocations: 48.53 kB / 466.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.965e-06/0.5017, allocations: 4 kB / 466.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.0237/0.5254, allocations: 6.284 MB / 472.9 MB, free: 35.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.5255, allocations: 61.09 kB / 473 MB, free: 35.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.5268, allocations: 0.6311 MB / 473.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002647/0.5271, allocations: 40.73 kB / 473.7 MB, free: 34.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.5274, allocations: 361.9 kB / 474 MB, free: 34.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.5277, allocations: 279.5 kB / 474.3 MB, free: 34.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.5281, allocations: 127.5 kB / 474.4 MB, free: 34.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5283, allocations: 387.1 kB / 474.8 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.5296, allocations: 0.5495 MB / 475.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.5309, allocations: 0.6417 MB / 476 MB, free: 33.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/0.5469, allocations: 3.947 MB / 479.9 MB, free: 32.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.547, allocations: 1.5 kB / 479.9 MB, free: 32.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01367/0.5606, allocations: 3.724 MB / 483.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.5607, allocations: 7.422 kB / 483.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5607, allocations: 2.75 kB / 483.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006338/0.5671, allocations: 1.715 MB / 485.4 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.5678, allocations: 102.9 kB / 485.5 MB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.5885, allocations: 8.412 MB / 493.9 MB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.59, allocations: 130.2 kB / 494 MB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.5901, allocations: 31.02 kB / 494 MB, free: 27.03 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.delta:VARIABLE(flow=false start = order6Type2_1.delta0 fixed = true ) "Rotor angle (deg)" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 fixed = true ) "q-axis transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.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 (62): * Single equations (assignments): 61 * 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.0005143/0.5907, allocations: 216.4 kB / 494.3 MB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.5909, allocations: 78.16 kB / 494.3 MB, free: 26.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.6034, allocations: 3.776 MB / 498.1 MB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.6035, allocations: 8.594 kB / 498.1 MB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6035, allocations: 0 / 498.1 MB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/0.6035, allocations: 5.141 kB / 498.1 MB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.6056, allocations: 1.077 MB / 499.2 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6056, allocations: 0 / 499.2 MB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.6062, allocations: 79.47 kB / 499.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005735/0.6119, allocations: 1.722 MB / 0.4893 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.6121, allocations: 19.33 kB / 0.4893 GB, free: 23.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.6286, allocations: 7.326 MB / 0.4964 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6286, allocations: 3.469 kB / 0.4964 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.6417, allocations: 4.606 MB / 0.5009 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.6421, allocations: 176 kB / 0.5011 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6423, allocations: 12 kB / 0.5011 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.6432, allocations: 83.84 kB / 0.5012 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006058/0.6439, allocations: 192.1 kB / 0.5014 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.6439, allocations: 16 kB / 0.5014 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005384/0.6445, allocations: 471 kB / 0.5018 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6445, allocations: 0 / 0.5018 GB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001358/0.6459, allocations: 331.6 kB / 0.5022 GB, free: 11.63 MB / 382.1 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 () * Number of clocked 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 (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.0002758/0.6461, allocations: 135.2 kB / 0.5023 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00567/0.6518, allocations: 2.085 MB / 0.5043 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6519, allocations: 4 kB / 0.5043 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004026/0.6559, allocations: 1.453 MB / 0.5057 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.6567, allocations: 70.94 kB / 0.5058 GB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.6598, allocations: 1.887 MB / 0.5077 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.6602, allocations: 0.9777 MB / 0.5086 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000316/0.6605, allocations: 64.14 kB / 0.5087 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.6607, allocations: 51.42 kB / 0.5087 GB, free: 4.883 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.6607, allocations: 0 / 0.5087 GB, free: 4.883 MB / 382.1 MB Notification: Performance of Templates: time 0.03188/0.6926, allocations: 19.57 MB / 0.5278 GB, free: 1.367 MB / 398.1 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)