Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.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.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009782/0.0009783, allocations: 170.1 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.649/1.649, 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.0007675/0.0007673, allocations: 91.67 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.306/0.306, allocations: 42.29 MB / 361.2 MB, free: 49.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004021, allocations: 15.98 kB / 429.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 57.56 MB / 487 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4713, allocations: 94.64 MB / 0.568 GB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4716, allocations: 81.45 kB / 0.5681 GB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06687/0.5385, allocations: 24.85 MB / 0.5923 GB, free: 4.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5385, allocations: 0 / 0.5923 GB, free: 4.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.608e-05/0.5386, allocations: 20 kB / 0.5924 GB, free: 4.094 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00488/0.5435, allocations: 1.935 MB / 0.5942 GB, free: 2.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5435, allocations: 12.03 kB / 0.5943 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/0.5467, allocations: 0.5681 MB / 0.5948 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.5483, allocations: 0.8374 MB / 0.5956 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/0.5486, allocations: 268.1 kB / 0.5959 GB, free: 340 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.5488, allocations: 72 kB / 0.596 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.5511, allocations: 1.196 MB / 0.5971 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.5511, allocations: 4 kB / 0.5971 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.5512, allocations: 28 kB / 0.5972 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.5512, allocations: 24 kB / 0.5972 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.5536, allocations: 1.163 MB / 0.5983 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00613/0.5597, allocations: 3.51 MB / 0.6017 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.5621, allocations: 1.507 MB / 0.6032 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.5637, allocations: 0.8242 MB / 0.604 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.5638, allocations: 24.97 kB / 0.604 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5638, allocations: 39.56 kB / 0.6041 GB, free: 7.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.787e-06/0.5638, allocations: 0 / 0.6041 GB, free: 7.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02494/0.5888, allocations: 7.798 MB / 0.6117 GB, free: 15.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.5889, allocations: 90.05 kB / 0.6118 GB, free: 15.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5903, allocations: 0.9147 MB / 0.6127 GB, free: 14.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5906, allocations: 41.7 kB / 0.6127 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.591, allocations: 496.8 kB / 0.6132 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.5913, allocations: 323.2 kB / 0.6135 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.5914, allocations: 12 kB / 0.6135 GB, free: 13.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5915, allocations: 337.9 kB / 0.6138 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.593, allocations: 0.6774 MB / 0.6145 GB, free: 12.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5945, allocations: 0.7844 MB / 0.6153 GB, free: 12.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/0.6083, allocations: 4.453 MB / 0.6196 GB, free: 7.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.6084, allocations: 0 / 0.6196 GB, free: 7.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01382/0.6222, allocations: 4.822 MB / 0.6243 GB, free: 2.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.6224, allocations: 148.3 kB / 0.6245 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6224, allocations: 3.938 kB / 0.6245 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006363/0.6288, allocations: 2.105 MB / 0.6265 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008461/0.6296, allocations: 147.8 kB / 0.6267 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.6509, allocations: 9.498 MB / 0.6359 GB, free: 6.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6524, allocations: 195.2 kB / 0.6361 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.6526, allocations: 31.98 kB / 0.6361 GB, free: 6.465 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6527, allocations: 4 kB / 0.6362 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/0.6664, allocations: 4.656 MB / 0.6407 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6665, allocations: 4 kB / 0.6407 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006243/0.6727, allocations: 2.089 MB / 0.6427 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.6735, allocations: 147.8 kB / 0.6429 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.6941, allocations: 9.499 MB / 0.6522 GB, free: 5.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6956, allocations: 191.2 kB / 0.6523 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.6958, allocations: 28 kB / 0.6524 GB, free: 5.703 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (71): * Single equations (assignments): 70 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007197/0.6965, allocations: 322 kB / 0.6527 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.6968, allocations: 118.5 kB / 0.6528 GB, free: 5.262 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.7103, allocations: 4.854 MB / 0.6575 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.7104, allocations: 15.98 kB / 0.6575 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7104, allocations: 0 / 0.6575 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.7104, allocations: 11.92 kB / 0.6576 GB, free: 372 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7263, allocations: 6.472 MB / 0.6639 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.7264, allocations: 0 / 0.6639 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/0.7271, allocations: 119.8 kB / 0.664 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/0.7331, allocations: 2.058 MB / 0.666 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.7333, allocations: 20 kB / 0.666 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2561/0.9894, allocations: 8.174 MB / 0.674 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.9895, allocations: 6.328 kB / 0.674 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.007, allocations: 5.863 MB / 0.6797 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/1.007, allocations: 206.5 kB / 0.6799 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003935/1.008, allocations: 14.42 kB / 0.6799 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.009, allocations: 151.8 kB / 0.6801 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007462/1.01, allocations: 203.1 kB / 0.6803 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.1e-05/1.01, allocations: 24.34 kB / 0.6803 GB, free: 124.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001246/1.011, allocations: 0.6268 MB / 0.6809 GB, free: 124.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.011, allocations: 3.969 kB / 0.6809 GB, free: 124.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002386/1.014, allocations: 0.6641 MB / 0.6816 GB, free: 124.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003349/1.014, allocations: 151.4 kB / 0.6817 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.025, allocations: 4.24 MB / 0.6859 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.025, allocations: 3.656 kB / 0.6859 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004401/1.029, allocations: 1.746 MB / 0.6876 GB, free: 123.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.03, allocations: 99.81 kB / 0.6877 GB, free: 123.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/1.035, allocations: 2.501 MB / 0.6901 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/1.035, allocations: 1.107 MB / 0.6912 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004872/1.036, allocations: 87.97 kB / 0.6913 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/1.036, allocations: 51.47 kB / 0.6913 GB, free: 121.8 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/1.036, allocations: 3.438 kB / 0.6913 GB, free: 121.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03935/1.075, allocations: 26.73 MB / 0.7174 GB, free: 120.4 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_TG.pipe 2>&1)