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.001149/0.001149, allocations: 91.84 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.009764/0.009764, allocations: 170 kB / 16.26 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.478/1.478, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4872/0.4872, allocations: 50.21 MB / 320.9 MB, free: 3.25 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.0007041/0.0007041, allocations: 24 kB / 391 MB, free: 428 kB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.131, allocations: 59.31 MB / 450.3 MB, free: 5.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order6test2): time 0.002676/0.1337, allocations: 2.121 MB / 452.5 MB, free: 2.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1371, allocations: 2.107 MB / 454.6 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00045/0.1376, allocations: 8 kB / 454.6 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1379, allocations: 99.33 kB / 454.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.1386, allocations: 175.1 kB / 454.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2311/0.3697, allocations: 0.6962 MB / 455.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3707, allocations: 0.8683 MB / 456.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.3711, allocations: 223.5 kB / 456.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.3714, allocations: 383.5 kB / 457 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.3719, allocations: 0.5357 MB / 457.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.372, allocations: 50.22 kB / 457.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.3723, allocations: 137.2 kB / 457.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3725, allocations: 195.3 kB / 457.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3727, allocations: 416.3 kB / 458.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.3734, allocations: 1.072 MB / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3734, allocations: 0 / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3734, allocations: 1.938 kB / 459.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3734, allocations: 0 / 459.4 MB, free: 37.91 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.006146/0.3796, allocations: 1.957 MB / 461.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3796, allocations: 7.344 kB / 461.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.3838, allocations: 0.6647 MB / 462 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.3847, allocations: 0.6261 MB / 462.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3849, allocations: 225.3 kB / 462.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3851, allocations: 71.88 kB / 462.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.387, allocations: 1.011 MB / 463.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3871, allocations: 0 / 463.9 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3872, allocations: 27.16 kB / 464 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3872, allocations: 17.09 kB / 464 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.389, allocations: 0.9964 MB / 465 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.3939, allocations: 3.247 MB / 468.2 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.3958, allocations: 0.8919 MB / 469.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.3971, allocations: 0.7331 MB / 469.9 MB, free: 35.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.514e-05/0.3972, allocations: 10.47 kB / 469.9 MB, free: 35.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3973, allocations: 46.34 kB / 469.9 MB, free: 35.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 3.066e-06/0.3973, allocations: 2.875 kB / 469.9 MB, free: 35.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=79): time 0.02568/0.423, allocations: 7.797 MB / 477.7 MB, free: 33.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.4231, allocations: 60.56 kB / 477.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4241, allocations: 0.6402 MB / 478.4 MB, free: 33.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4243, allocations: 39.89 kB / 478.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.4245, allocations: 352.3 kB / 478.8 MB, free: 33.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.4248, allocations: 281.4 kB / 479.1 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4249, allocations: 69.06 kB / 479.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.425, allocations: 389.4 kB / 479.5 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4263, allocations: 0.606 MB / 480.1 MB, free: 32.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.4276, allocations: 0.7053 MB / 480.8 MB, free: 32.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.4437, allocations: 4.4 MB / 485.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4438, allocations: 0 / 485.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01468/0.4585, allocations: 4.609 MB / 489.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.4586, allocations: 6.062 kB / 489.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.4586, allocations: 2.844 kB / 489.8 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007024/0.4656, allocations: 2.025 MB / 491.9 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.4664, allocations: 100.6 kB / 492 MB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.489, allocations: 9.42 MB / 0.4896 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4905, allocations: 161.8 kB / 0.4898 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.4906, allocations: 27.25 kB / 0.4898 GB, free: 25.26 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.0004442/0.4911, allocations: 215.7 kB / 0.49 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4913, allocations: 76 kB / 0.4901 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.5042, allocations: 4.663 MB / 0.4947 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.5043, allocations: 8 kB / 0.4947 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5043, allocations: 0 / 0.4947 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.5043, allocations: 3.984 kB / 0.4947 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.5056, allocations: 1.077 MB / 0.4957 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5057, allocations: 0 / 0.4957 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.5062, allocations: 83.91 kB / 0.4958 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.5119, allocations: 2.022 MB / 0.4978 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5121, allocations: 19.98 kB / 0.4978 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.5287, allocations: 8.205 MB / 0.5058 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5287, allocations: 4 kB / 0.5058 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.5429, allocations: 5.556 MB / 0.5112 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.5432, allocations: 176 kB / 0.5114 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5434, allocations: 19.98 kB / 0.5114 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5444, allocations: 115.9 kB / 0.5115 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/0.5451, allocations: 180.7 kB / 0.5117 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/0.5451, allocations: 20 kB / 0.5117 GB, free: 2.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.5457, allocations: 463.1 kB / 0.5122 GB, free: 2.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5457, allocations: 0 / 0.5122 GB, free: 2.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00127/0.5469, allocations: 339.5 kB / 0.5125 GB, free: 2.016 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.0002511/0.5472, allocations: 127.6 kB / 0.5126 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006141/0.5534, allocations: 2.359 MB / 0.5149 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5534, allocations: 4.125 kB / 0.5149 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005075/0.5585, allocations: 1.677 MB / 0.5166 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.5593, allocations: 76.19 kB / 0.5166 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.5624, allocations: 1.897 MB / 0.5185 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.5629, allocations: 0.9738 MB / 0.5194 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.5633, allocations: 64.94 kB / 0.5195 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.5635, allocations: 51.42 kB / 0.5195 GB, free: 10.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5635, allocations: 0 / 0.5195 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Templates: time 0.02881/0.5923, allocations: 19.11 MB / 0.5382 GB, free: 7.645 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: