Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.conf.json Using package iPSL with version 1.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004159/0.004164, allocations: 348.2 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.523/3.523, allocations: 341.5 MB / 358.2 MB, free: 28.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003512/0.003512, allocations: 210.6 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.7507/0.7507, allocations: 100.4 MB / 0.5251 GB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007232/0.0007236, allocations: 19.98 kB / 0.5847 GB, free: 45.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09984, allocations: 50.49 MB / 0.634 GB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5603/0.6602, allocations: 75.66 MB / 0.7079 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.6605, allocations: 71.97 kB / 0.708 GB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07425/0.7347, allocations: 16.57 MB / 0.7241 GB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7348, allocations: 0 / 0.7241 GB, free: 12.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.433e-05/0.7349, allocations: 12 kB / 0.7242 GB, free: 12.2 MB / 362.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.007588/0.7424, allocations: 1.602 MB / 0.7257 GB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7425, allocations: 8.031 kB / 0.7257 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.7468, allocations: 478.3 kB / 0.7262 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.7485, allocations: 0.6 MB / 0.7268 GB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/0.749, allocations: 222.5 kB / 0.727 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003566/0.7494, allocations: 68 kB / 0.727 GB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.7533, allocations: 1.007 MB / 0.728 GB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7533, allocations: 0 / 0.728 GB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.7535, allocations: 27.95 kB / 0.7281 GB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.7535, allocations: 20 kB / 0.7281 GB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.7573, allocations: 0.9917 MB / 0.729 GB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.7729, allocations: 3.283 MB / 0.7322 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/0.7773, allocations: 0.8841 MB / 0.7331 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.78, allocations: 0.7293 MB / 0.7338 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.7802, allocations: 12.59 kB / 0.7338 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.7802, allocations: 39.22 kB / 0.7339 GB, free: 1.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 3.907e-06/0.7803, allocations: 0 / 0.7339 GB, free: 1.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.0581/0.8384, allocations: 7.959 MB / 0.7416 GB, free: 9.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.8385, allocations: 60.06 kB / 0.7417 GB, free: 9.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.8399, allocations: 0.6329 MB / 0.7423 GB, free: 9.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.8402, allocations: 41.7 kB / 0.7424 GB, free: 9.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.8406, allocations: 356.3 kB / 0.7427 GB, free: 8.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.8411, allocations: 279.9 kB / 0.743 GB, free: 8.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.8412, allocations: 20 kB / 0.743 GB, free: 8.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.8414, allocations: 382.8 kB / 0.7434 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.844, allocations: 0.5993 MB / 0.7439 GB, free: 7.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.8466, allocations: 0.6977 MB / 0.7446 GB, free: 6.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.8493, allocations: 0.6472 MB / 0.7452 GB, free: 6.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.649e-06/0.8494, allocations: 8 kB / 0.7453 GB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.02751/0.8769, allocations: 4.641 MB / 0.7498 GB, free: 1.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.877, allocations: 8 kB / 0.7498 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.877, allocations: 4 kB / 0.7498 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01313/0.8902, allocations: 2.107 MB / 0.7519 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.8913, allocations: 99.89 kB / 0.752 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04386/0.9352, allocations: 9.479 MB / 0.7612 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.9373, allocations: 151.3 kB / 0.7614 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.9375, allocations: 31.98 kB / 0.7614 GB, free: 5.488 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 fixed = true ) "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 () * Number of clocked 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.0006982/0.9382, allocations: 218.7 kB / 0.7616 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.9386, allocations: 75.11 kB / 0.7617 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/0.9657, allocations: 4.685 MB / 0.7662 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.9658, allocations: 8 kB / 0.7662 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9658, allocations: 4 kB / 0.7663 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.299e-05/0.9659, allocations: 3.984 kB / 0.7663 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.9682, allocations: 1.072 MB / 0.7673 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.9683, allocations: 3.938 kB / 0.7673 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.9693, allocations: 83.89 kB / 0.7674 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01224/0.9816, allocations: 2.032 MB / 0.7694 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002725/0.9819, allocations: 16 kB / 0.7694 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/1.023, allocations: 8.171 MB / 0.7774 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.023, allocations: 0 / 0.7774 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0305/1.054, allocations: 5.548 MB / 0.7828 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/1.054, allocations: 176 kB / 0.783 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.054, allocations: 20 kB / 0.783 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.056, allocations: 107.9 kB / 0.7831 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009037/1.057, allocations: 188.7 kB / 0.7833 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.057, allocations: 16 kB / 0.7833 GB, free: 14.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009455/1.058, allocations: 467 kB / 0.7837 GB, free: 14.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.058, allocations: 4 kB / 0.7837 GB, free: 14.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001642/1.06, allocations: 359.5 kB / 0.7841 GB, free: 14.01 MB / 426.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 () * 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 (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.0003891/1.06, allocations: 136.5 kB / 0.7842 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.072, allocations: 2.375 MB / 0.7865 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.072, allocations: 0 / 0.7865 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009668/1.082, allocations: 1.689 MB / 0.7882 GB, free: 9.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/1.083, allocations: 67 kB / 0.7882 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005153/1.088, allocations: 1.815 MB / 0.79 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/1.089, allocations: 0.9936 MB / 0.791 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005806/1.09, allocations: 64.94 kB / 0.791 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/1.09, allocations: 47.36 kB / 0.7911 GB, free: 6.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.09, allocations: 0 / 0.7911 GB, free: 6.746 MB / 426.7 MB Notification: Performance of Templates: time 0.04963/1.14, allocations: 18.8 MB / 0.8094 GB, free: 3.953 MB / 442.7 MB