Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 170.2 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.3 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007738/0.0007739, allocations: 98.23 kB / 270.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1662/0.1662, allocations: 42.31 MB / 361.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 21 kB / 429.4 MB, free: 21.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 57.55 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4974, allocations: 91.51 MB / 0.5649 GB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4977, allocations: 82.83 kB / 0.565 GB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05501/0.5527, allocations: 19.97 MB / 0.5845 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5528, allocations: 0 / 0.5845 GB, free: 11.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.307e-05/0.5529, allocations: 12 kB / 0.5845 GB, free: 11.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.005628/0.5585, allocations: 1.688 MB / 0.5862 GB, free: 9.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5585, allocations: 12.03 kB / 0.5862 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.5619, allocations: 0.5106 MB / 0.5867 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.5635, allocations: 0.6696 MB / 0.5873 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.5638, allocations: 254.7 kB / 0.5876 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.5641, allocations: 58.8 kB / 0.5876 GB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.5664, allocations: 1.053 MB / 0.5887 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5664, allocations: 0 / 0.5887 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.5666, allocations: 21.12 kB / 0.5887 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.5666, allocations: 16 kB / 0.5887 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.5688, allocations: 1.038 MB / 0.5897 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.5738, allocations: 2.479 MB / 0.5921 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.5765, allocations: 1.109 MB / 0.5932 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.5781, allocations: 0.7809 MB / 0.594 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.5782, allocations: 12.59 kB / 0.594 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.5783, allocations: 46.95 kB / 0.594 GB, free: 3.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.677e-06/0.5783, allocations: 7.938 kB / 0.594 GB, free: 3.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.02799/0.6063, allocations: 8.361 MB / 0.6022 GB, free: 12.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.6064, allocations: 63.44 kB / 0.6023 GB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.6079, allocations: 0.6434 MB / 0.6029 GB, free: 11.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.6083, allocations: 44.58 kB / 0.6029 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.6086, allocations: 355.8 kB / 0.6033 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/0.6091, allocations: 282.7 kB / 0.6035 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.6093, allocations: 10.81 kB / 0.6036 GB, free: 11.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6094, allocations: 332.2 kB / 0.6039 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001626/0.6111, allocations: 0.6501 MB / 0.6045 GB, free: 10.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.6126, allocations: 0.6518 MB / 0.6051 GB, free: 9.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.6268, allocations: 4.299 MB / 0.6093 GB, free: 6.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.6268, allocations: 0 / 0.6093 GB, free: 6.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01398/0.6408, allocations: 4.863 MB / 0.6141 GB, free: 2.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.6409, allocations: 4 kB / 0.6141 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6409, allocations: 4 kB / 0.6141 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006775/0.6477, allocations: 2.229 MB / 0.6163 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.6484, allocations: 90.45 kB / 0.6164 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.6716, allocations: 10.22 MB / 0.6263 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.673, allocations: 171.3 kB / 0.6265 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.6731, allocations: 24 kB / 0.6265 GB, free: 6.699 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (52): * Single equations (assignments): 51 * 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 {25 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005394/0.6737, allocations: 205.7 kB / 0.6267 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.6739, allocations: 86.91 kB / 0.6268 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.6876, allocations: 4.908 MB / 0.6316 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.6877, allocations: 8 kB / 0.6316 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6877, allocations: 0 / 0.6316 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.6878, allocations: 3.984 kB / 0.6316 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.6896, allocations: 1.056 MB / 0.6326 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6896, allocations: 0 / 0.6326 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.6901, allocations: 71.91 kB / 0.6327 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006223/0.6963, allocations: 2.175 MB / 0.6348 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.6965, allocations: 16 kB / 0.6349 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.7162, allocations: 8.812 MB / 0.6435 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7163, allocations: 4 kB / 0.6435 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.7366, allocations: 5.823 MB / 0.6491 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.7373, allocations: 179.8 kB / 0.6493 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.7378, allocations: 20 kB / 0.6493 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.7394, allocations: 131.9 kB / 0.6495 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/0.7406, allocations: 188.3 kB / 0.6496 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.7407, allocations: 19.98 kB / 0.6497 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.7417, allocations: 467 kB / 0.6501 GB, free: 14.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7417, allocations: 0 / 0.6501 GB, free: 14.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002221/0.744, allocations: 379.5 kB / 0.6505 GB, free: 13.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (43): * Single equations (assignments): 42 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004515/0.7445, allocations: 155 kB / 0.6506 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01076/0.7553, allocations: 2.436 MB / 0.653 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7554, allocations: 0 / 0.653 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009551/0.7649, allocations: 1.718 MB / 0.6547 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.7668, allocations: 70.25 kB / 0.6547 GB, free: 9.496 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/0.7752, allocations: 2.117 MB / 0.6568 GB, free: 7.344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.7763, allocations: 0.9818 MB / 0.6578 GB, free: 6.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.777, allocations: 52.95 kB / 0.6578 GB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.7773, allocations: 39.44 kB / 0.6579 GB, free: 6.238 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/0.7773, allocations: 0 / 0.6579 GB, free: 6.238 MB / 458.7 MB Notification: Performance of Templates: time 0.06181/0.8392, allocations: 19.44 MB / 0.6768 GB, free: 2.781 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)