Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.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.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 172.8 kB / 16.12 MB, free: 5.668 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.606/1.606, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0007775/0.0007774, allocations: 80.81 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2952/0.2952, allocations: 42.29 MB / 361.2 MB, free: 49.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 16 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 57.57 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.377/0.5098, allocations: 92.88 MB / 0.5663 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5101, allocations: 79.95 kB / 0.5663 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06655/0.5767, allocations: 23.73 MB / 0.5895 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5768, allocations: 0 / 0.5895 GB, free: 6.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.241e-05/0.5768, allocations: 20 kB / 0.5895 GB, free: 6.949 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005639/0.5825, allocations: 1.856 MB / 0.5914 GB, free: 5.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5825, allocations: 12.78 kB / 0.5914 GB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.5861, allocations: 0.5448 MB / 0.5919 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.588, allocations: 0.7617 MB / 0.5926 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.5884, allocations: 260.2 kB / 0.5929 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.5887, allocations: 68 kB / 0.593 GB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.5912, allocations: 1.046 MB / 0.594 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5912, allocations: 0 / 0.594 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.771e-05/0.5913, allocations: 36 kB / 0.594 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.5913, allocations: 20.92 kB / 0.594 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.5938, allocations: 1.078 MB / 0.5951 GB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.6004, allocations: 3.328 MB / 0.5983 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.6026, allocations: 1.409 MB / 0.5997 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6043, allocations: 0.8008 MB / 0.6005 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.6044, allocations: 12.98 kB / 0.6005 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.6044, allocations: 43.56 kB / 0.6005 GB, free: 11.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 4.137e-06/0.6044, allocations: 0 / 0.6005 GB, free: 11.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.02932/0.6338, allocations: 8.344 MB / 0.6087 GB, free: 2.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.6339, allocations: 64.41 kB / 0.6088 GB, free: 2.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.636, allocations: 0.8226 MB / 0.6096 GB, free: 1.957 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.6364, allocations: 33.7 kB / 0.6096 GB, free: 1.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.6369, allocations: 460.2 kB / 0.61 GB, free: 1.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/0.6375, allocations: 307.6 kB / 0.6103 GB, free: 1.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.6377, allocations: 16 kB / 0.6103 GB, free: 1.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6379, allocations: 334 kB / 0.6107 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.6402, allocations: 0.6539 MB / 0.6113 GB, free: 160 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.6428, allocations: 0.7571 MB / 0.612 GB, free: 15.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02646/0.6692, allocations: 4.482 MB / 0.6164 GB, free: 10.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.6693, allocations: 0 / 0.6164 GB, free: 10.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.02576/0.6951, allocations: 4.819 MB / 0.6211 GB, free: 6.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.6952, allocations: 8 kB / 0.6211 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.6952, allocations: 0 / 0.6211 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/0.7077, allocations: 2.196 MB / 0.6233 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.7088, allocations: 123.8 kB / 0.6234 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03867/0.7475, allocations: 10.87 MB / 0.634 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.7495, allocations: 183.1 kB / 0.6342 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.7498, allocations: 31.98 kB / 0.6342 GB, free: 8.34 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008457/0.7507, allocations: 218.7 kB / 0.6344 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.7511, allocations: 110.7 kB / 0.6345 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02254/0.7737, allocations: 4.775 MB / 0.6392 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.7738, allocations: 8 kB / 0.6392 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.7738, allocations: 7.938 kB / 0.6392 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.7739, allocations: 7.984 kB / 0.6392 GB, free: 3.188 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/0.7949, allocations: 6.341 MB / 0.6454 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.795, allocations: 0 / 0.6454 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.7957, allocations: 103.8 kB / 0.6455 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006115/0.8018, allocations: 2.054 MB / 0.6475 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.802, allocations: 16 kB / 0.6475 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.8203, allocations: 8.209 MB / 0.6555 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8203, allocations: 0 / 0.6555 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.8356, allocations: 5.755 MB / 0.6612 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.8361, allocations: 195.6 kB / 0.6613 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.8364, allocations: 16 kB / 0.6614 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8375, allocations: 131.9 kB / 0.6615 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006681/0.8382, allocations: 200.6 kB / 0.6617 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/0.8383, allocations: 24 kB / 0.6617 GB, free: 11.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008517/0.8392, allocations: 0.5702 MB / 0.6623 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8392, allocations: 3.828 kB / 0.6623 GB, free: 11.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001395/0.8406, allocations: 411.5 kB / 0.6627 GB, free: 10.84 MB / 490.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 (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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/0.8409, allocations: 139.2 kB / 0.6628 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006676/0.8476, allocations: 2.569 MB / 0.6653 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8476, allocations: 0.5625 kB / 0.6653 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00556/0.8532, allocations: 1.732 MB / 0.667 GB, free: 6.359 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.8543, allocations: 76.8 kB / 0.6671 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.858, allocations: 2.291 MB / 0.6693 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.8587, allocations: 1.048 MB / 0.6703 GB, free: 2.902 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.8591, allocations: 61.23 kB / 0.6704 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.8593, allocations: 47.42 kB / 0.6704 GB, free: 2.797 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8593, allocations: 4 kB / 0.6704 GB, free: 2.793 MB / 490.7 MB Notification: Performance of Templates: time 0.2103/1.07, allocations: 19.55 MB / 0.6895 GB, free: 128.6 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1)