Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000991/0.000991, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 84.88 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4436/0.4436, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.726e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3403, allocations: 69.34 MB / 0.548 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4628, allocations: 99.32 MB / 0.6449 GB, free: 1.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4631, allocations: 79.94 kB / 0.645 GB, free: 1.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06638/0.5295, allocations: 25.62 MB / 0.67 GB, free: 7.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5295, allocations: 4 kB / 0.67 GB, free: 7.215 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.5296, allocations: 20 kB / 0.6701 GB, free: 7.195 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00459/0.5342, allocations: 1.699 MB / 0.6717 GB, free: 5.445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.5342, allocations: 15.97 kB / 0.6717 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.5375, allocations: 0.5526 MB / 0.6723 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.5391, allocations: 0.7515 MB / 0.673 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.5394, allocations: 268.5 kB / 0.6733 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.5395, allocations: 72 kB / 0.6733 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5412, allocations: 0.9423 MB / 0.6743 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5412, allocations: 0 / 0.6743 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.5413, allocations: 32 kB / 0.6743 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.5414, allocations: 16 kB / 0.6743 GB, free: 2.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5429, allocations: 0.8553 MB / 0.6751 GB, free: 1.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3023/0.8451, allocations: 3.505 MB / 0.6786 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.8467, allocations: 1.23 MB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.8476, allocations: 0.5714 MB / 0.6803 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.8477, allocations: 16.77 kB / 0.6803 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.8478, allocations: 41.08 kB / 0.6804 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.497e-06/0.8478, allocations: 4.453 kB / 0.6804 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01352/0.8613, allocations: 4.042 MB / 0.6843 GB, free: 103.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.8614, allocations: 87.52 kB / 0.6844 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.8626, allocations: 0.7726 MB / 0.6852 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.8629, allocations: 41.7 kB / 0.6852 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.8632, allocations: 492.9 kB / 0.6857 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.8635, allocations: 313.1 kB / 0.686 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.8636, allocations: 17.59 kB / 0.686 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.8636, allocations: 337.7 kB / 0.6863 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.8643, allocations: 437 kB / 0.6867 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/0.865, allocations: 0.5298 MB / 0.6872 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.8657, allocations: 480.4 kB / 0.6877 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8657, allocations: 3.938 kB / 0.6877 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01194/0.8776, allocations: 4.134 MB / 0.6917 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.8779, allocations: 0.7928 MB / 0.6925 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8779, allocations: 0 / 0.6925 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006463/0.8844, allocations: 1.725 MB / 0.6942 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009212/0.8854, allocations: 140.2 kB / 0.6943 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.8988, allocations: 7.27 MB / 0.7014 GB, free: 96.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.9003, allocations: 196.2 kB / 0.7016 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.9004, allocations: 39.31 kB / 0.7017 GB, free: 96.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.9005, allocations: 10.83 kB / 0.7017 GB, free: 96.87 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01185/0.9123, allocations: 4.001 MB / 0.7056 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9124, allocations: 3.469 kB / 0.7056 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/0.9175, allocations: 1.729 MB / 0.7073 GB, free: 95.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.9182, allocations: 135.1 kB / 0.7074 GB, free: 94.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.931, allocations: 7.245 MB / 0.7145 GB, free: 88.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.9325, allocations: 190 kB / 0.7147 GB, free: 88.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.9326, allocations: 28 kB / 0.7147 GB, free: 88.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.9328, allocations: 154.1 kB / 0.7148 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.9331, allocations: 118.5 kB / 0.7149 GB, free: 87.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.944, allocations: 4.168 MB / 0.719 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.9441, allocations: 11.28 kB / 0.719 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9441, allocations: 3.953 kB / 0.719 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.9441, allocations: 6.734 kB / 0.719 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.9571, allocations: 5.773 MB / 0.7247 GB, free: 80.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.9572, allocations: 3.688 kB / 0.7247 GB, free: 80.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.9579, allocations: 111.3 kB / 0.7248 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004712/0.9626, allocations: 1.695 MB / 0.7264 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.9627, allocations: 19.95 kB / 0.7265 GB, free: 78.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.9738, allocations: 6.323 MB / 0.7326 GB, free: 72.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9738, allocations: 8 kB / 0.7326 GB, free: 72.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.986, allocations: 4.895 MB / 0.7374 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.9865, allocations: 203.4 kB / 0.7376 GB, free: 67.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.9867, allocations: 19.98 kB / 0.7376 GB, free: 67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.9878, allocations: 147.9 kB / 0.7378 GB, free: 66.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/0.9883, allocations: 208.4 kB / 0.738 GB, free: 66.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.9884, allocations: 24 kB / 0.738 GB, free: 66.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007003/0.9891, allocations: 0.6011 MB / 0.7386 GB, free: 66.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9891, allocations: 0 / 0.7386 GB, free: 66.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001632/0.9908, allocations: 0.6657 MB / 0.7392 GB, free: 65.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0002566/0.991, allocations: 149.7 kB / 0.7394 GB, free: 65.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008729/0.9998, allocations: 3.524 MB / 0.7428 GB, free: 61.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9998, allocations: 8 kB / 0.7428 GB, free: 61.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003862/1.004, allocations: 1.477 MB / 0.7443 GB, free: 60.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/1.005, allocations: 85.7 kB / 0.7444 GB, free: 60.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/1.008, allocations: 1.567 MB / 0.7459 GB, free: 58.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/1.008, allocations: 1.134 MB / 0.747 GB, free: 57.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006347/1.009, allocations: 156.1 kB / 0.7471 GB, free: 57.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/1.009, allocations: 43.44 kB / 0.7472 GB, free: 57.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/1.009, allocations: 4 kB / 0.7472 GB, free: 57.14 MB / 490.7 MB Notification: Performance of Templates: time 0.03787/1.047, allocations: 28.66 MB / 0.7752 GB, free: 28.79 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)