Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004141/0.004147, allocations: 348 kB / 15.94 MB, free: 6.215 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.987/3.987, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003564/0.003564, allocations: 222.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.6954/0.6954, allocations: 100.4 MB / 0.5251 GB, free: 88.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000563/0.0005633, allocations: 16 kB / 0.5847 GB, free: 27.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3458, allocations: 50.48 MB / 0.634 GB, free: 90.64 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4555, allocations: 75.43 MB / 0.7077 GB, free: 18.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4558, allocations: 68.81 kB / 0.7077 GB, free: 18.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07084/0.5267, allocations: 15.52 MB / 0.7229 GB, free: 3.301 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5267, allocations: 0.6562 kB / 0.7229 GB, free: 3.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.235e-05/0.5268, allocations: 19.53 kB / 0.7229 GB, free: 3.285 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006612/0.5334, allocations: 1.488 MB / 0.7244 GB, free: 1.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5335, allocations: 8.031 kB / 0.7244 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.5378, allocations: 482.3 kB / 0.7248 GB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5393, allocations: 0.5571 MB / 0.7254 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.5396, allocations: 222.4 kB / 0.7256 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.5399, allocations: 72 kB / 0.7256 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.5436, allocations: 0.9834 MB / 0.7266 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.5437, allocations: 3.938 kB / 0.7266 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.5438, allocations: 31.89 kB / 0.7266 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.5439, allocations: 20 kB / 0.7267 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00714/0.551, allocations: 0.9722 MB / 0.7276 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.5677, allocations: 3.158 MB / 0.7307 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/0.5747, allocations: 0.8372 MB / 0.7315 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004982/0.5798, allocations: 0.7138 MB / 0.7322 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.5801, allocations: 8.656 kB / 0.7322 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.212e-05/0.5802, allocations: 51.11 kB / 0.7323 GB, free: 9.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 7.564e-06/0.5802, allocations: 0 / 0.7323 GB, free: 9.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.0608/0.6411, allocations: 8.419 MB / 0.7405 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.6412, allocations: 60.06 kB / 0.7405 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.6424, allocations: 0.5693 MB / 0.7411 GB, free: 280 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.6427, allocations: 37.7 kB / 0.7411 GB, free: 236 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.6431, allocations: 348.3 kB / 0.7415 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.6436, allocations: 264 kB / 0.7417 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6438, allocations: 16 kB / 0.7417 GB, free: 15.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.644, allocations: 382.8 kB / 0.7421 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.6466, allocations: 0.5837 MB / 0.7427 GB, free: 14.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.6493, allocations: 0.6859 MB / 0.7433 GB, free: 13.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.652, allocations: 0.6296 MB / 0.744 GB, free: 13.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.6521, allocations: 4 kB / 0.744 GB, free: 13.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.02742/0.6795, allocations: 4.587 MB / 0.7484 GB, free: 8.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.6796, allocations: 11.28 kB / 0.7484 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.6796, allocations: 11.91 kB / 0.7485 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/0.6929, allocations: 2.123 MB / 0.7505 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/0.6939, allocations: 91.84 kB / 0.7506 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3827/1.077, allocations: 9.479 MB / 0.7599 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/1.079, allocations: 155.1 kB / 0.76 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.079, allocations: 24.69 kB / 0.76 GB, free: 100.2 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" 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 (57): * Single equations (assignments): 56 * 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.0006611/1.08, allocations: 205.2 kB / 0.7602 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.08, allocations: 72.97 kB / 0.7603 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02561/1.106, allocations: 4.621 MB / 0.7648 GB, free: 99.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.106, allocations: 13.48 kB / 0.7648 GB, free: 99.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.106, allocations: 1.125 kB / 0.7648 GB, free: 99.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.106, allocations: 7.078 kB / 0.7648 GB, free: 99.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.108, allocations: 1.02 MB / 0.7658 GB, free: 99.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.108, allocations: 0 / 0.7658 GB, free: 99.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/1.109, allocations: 76.02 kB / 0.7659 GB, free: 99.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.121, allocations: 2.037 MB / 0.7679 GB, free: 99.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.121, allocations: 23.48 kB / 0.7679 GB, free: 99.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03468/1.156, allocations: 8.165 MB / 0.7759 GB, free: 96.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.156, allocations: 8.922 kB / 0.7759 GB, free: 96.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02939/1.185, allocations: 5.476 MB / 0.7813 GB, free: 95.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/1.185, allocations: 169.1 kB / 0.7814 GB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.186, allocations: 23.36 kB / 0.7814 GB, free: 94.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.188, allocations: 111 kB / 0.7815 GB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008206/1.188, allocations: 188 kB / 0.7817 GB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.189, allocations: 21.53 kB / 0.7817 GB, free: 94.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007654/1.189, allocations: 407.5 kB / 0.7821 GB, free: 94.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.189, allocations: 0 / 0.7821 GB, free: 94.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001672/1.191, allocations: 345.6 kB / 0.7825 GB, free: 94.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (48): * Single equations (assignments): 47 * 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.000364/1.191, allocations: 135.8 kB / 0.7826 GB, free: 93.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/1.203, allocations: 2.341 MB / 0.7849 GB, free: 91.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.203, allocations: 0 / 0.7849 GB, free: 91.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008441/1.211, allocations: 1.654 MB / 0.7865 GB, free: 90.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/1.212, allocations: 67.86 kB / 0.7866 GB, free: 90.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/1.216, allocations: 1.707 MB / 0.7882 GB, free: 88.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.217, allocations: 0.9844 MB / 0.7892 GB, free: 87.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005114/1.217, allocations: 53.11 kB / 0.7892 GB, free: 87.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.217, allocations: 51.28 kB / 0.7893 GB, free: 87.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.332e-06/1.217, allocations: 3.938 kB / 0.7893 GB, free: 87.88 MB / 394.7 MB Notification: Performance of Templates: time 0.04457/1.262, allocations: 18.15 MB / 0.807 GB, free: 70.35 MB / 394.7 MB