Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0008432/0.0008433, allocations: 172.1 kB / 16.12 MB, free: 5.672 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.509/1.509, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007559/0.0007559, allocations: 96.97 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3097/0.3097, allocations: 42.28 MB / 361.2 MB, free: 49.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004257, allocations: 16 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.451, allocations: 92.88 MB / 0.5663 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.4513, allocations: 81.8 kB / 0.5664 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06295/0.5143, allocations: 23.73 MB / 0.5895 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5143, allocations: 1.312 kB / 0.5895 GB, free: 6.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.395e-05/0.5144, allocations: 16 kB / 0.5895 GB, free: 6.953 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.005561/0.52, allocations: 1.868 MB / 0.5914 GB, free: 5.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.52, allocations: 8.031 kB / 0.5914 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.5235, allocations: 0.5526 MB / 0.5919 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.5253, allocations: 0.7539 MB / 0.5927 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.5256, allocations: 260.2 kB / 0.5929 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.5259, allocations: 68 kB / 0.593 GB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.5282, allocations: 1.046 MB / 0.594 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5283, allocations: 0 / 0.594 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5284, allocations: 32 kB / 0.594 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.5284, allocations: 16 kB / 0.594 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.5306, allocations: 1.07 MB / 0.5951 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/0.537, allocations: 3.344 MB / 0.5983 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.5392, allocations: 1.407 MB / 0.5997 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.5407, allocations: 0.7936 MB / 0.6005 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.5409, allocations: 16.97 kB / 0.6005 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5409, allocations: 51.5 kB / 0.6006 GB, free: 11.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=85): time 2.925e-06/0.5409, allocations: 0 / 0.6006 GB, free: 11.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=85): time 0.02734/0.5683, allocations: 8.347 MB / 0.6087 GB, free: 2.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.5684, allocations: 60.41 kB / 0.6088 GB, free: 2.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5702, allocations: 0.8197 MB / 0.6096 GB, free: 1.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.5705, allocations: 37.7 kB / 0.6096 GB, free: 1.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.5709, allocations: 456.2 kB / 0.61 GB, free: 1.461 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000602/0.5715, allocations: 299.6 kB / 0.6103 GB, free: 1.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5716, allocations: 16 kB / 0.6103 GB, free: 1.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5718, allocations: 338 kB / 0.6107 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.5735, allocations: 0.6501 MB / 0.6113 GB, free: 164 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.5752, allocations: 0.757 MB / 0.612 GB, free: 15.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/0.5902, allocations: 4.494 MB / 0.6164 GB, free: 10.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5903, allocations: 0 / 0.6164 GB, free: 10.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01441/0.6047, allocations: 4.815 MB / 0.6211 GB, free: 6.016 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.6048, allocations: 11.98 kB / 0.6211 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.6049, allocations: 0 / 0.6211 GB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.6119, allocations: 2.188 MB / 0.6233 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.6127, allocations: 123.8 kB / 0.6234 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.6349, allocations: 10.87 MB / 0.634 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6363, allocations: 183.1 kB / 0.6342 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.6365, allocations: 28 kB / 0.6342 GB, free: 8.344 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.0005886/0.6371, allocations: 222.6 kB / 0.6344 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.6374, allocations: 110.6 kB / 0.6345 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.6506, allocations: 4.779 MB / 0.6392 GB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.6507, allocations: 8 kB / 0.6392 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6507, allocations: 3.938 kB / 0.6392 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.6507, allocations: 3.984 kB / 0.6392 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6666, allocations: 6.345 MB / 0.6454 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.6667, allocations: 3.984 kB / 0.6454 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.6674, allocations: 103.9 kB / 0.6455 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00604/0.6734, allocations: 2.058 MB / 0.6475 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/0.6737, allocations: 16 kB / 0.6475 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.6917, allocations: 8.205 MB / 0.6555 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6918, allocations: 0 / 0.6555 GB, free: 2.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.7072, allocations: 5.751 MB / 0.6612 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.7078, allocations: 199.6 kB / 0.6614 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.708, allocations: 16 kB / 0.6614 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.709, allocations: 127.9 kB / 0.6615 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/0.7097, allocations: 200.6 kB / 0.6617 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.7098, allocations: 28.12 kB / 0.6617 GB, free: 11.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008288/0.7106, allocations: 0.5624 MB / 0.6623 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7106, allocations: 0 / 0.6623 GB, free: 11.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001307/0.7119, allocations: 419.4 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.0002922/0.7122, allocations: 140.4 kB / 0.6628 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006633/0.7189, allocations: 2.572 MB / 0.6653 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.7189, allocations: 0 / 0.6653 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005005/0.7239, allocations: 1.718 MB / 0.667 GB, free: 6.375 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.7249, allocations: 87.38 kB / 0.6671 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.7287, allocations: 2.289 MB / 0.6693 GB, free: 3.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.7294, allocations: 1.048 MB / 0.6703 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.7297, allocations: 61.23 kB / 0.6704 GB, free: 2.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.7299, allocations: 51.42 kB / 0.6704 GB, free: 2.797 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7299, allocations: 0 / 0.6704 GB, free: 2.797 MB / 490.7 MB Notification: Performance of Templates: time 0.2578/0.9876, allocations: 19.55 MB / 0.6895 GB, free: 128.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1)