Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.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.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005501/0.005501, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.525/1.525, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001033/0.001033, allocations: 82.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07664/0.07664, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3954/0.3954, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 23.22 kB / 0.5285 GB, free: 35.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 69.33 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.6063, allocations: 101 MB / 0.6948 GB, free: 98.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.6066, allocations: 80.88 kB / 0.6949 GB, free: 98.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0648/0.6714, allocations: 24.96 MB / 0.7193 GB, free: 90.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.6714, allocations: 3.875 kB / 0.7193 GB, free: 90.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.724e-05/0.6715, allocations: 26.41 kB / 0.7193 GB, free: 90.87 MB / 474.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.005018/0.6765, allocations: 1.943 MB / 0.7212 GB, free: 89.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.6766, allocations: 15.66 kB / 0.7212 GB, free: 89.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.6801, allocations: 0.5666 MB / 0.7217 GB, free: 89.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.682, allocations: 0.7907 MB / 0.7225 GB, free: 88.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.6823, allocations: 272.1 kB / 0.7228 GB, free: 87.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.6824, allocations: 72 kB / 0.7228 GB, free: 87.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.6846, allocations: 1.184 MB / 0.724 GB, free: 86.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.6846, allocations: 0 / 0.724 GB, free: 86.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.6847, allocations: 32 kB / 0.724 GB, free: 86.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.6847, allocations: 16 kB / 0.724 GB, free: 86.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.6867, allocations: 1.163 MB / 0.7252 GB, free: 85.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.6922, allocations: 3.518 MB / 0.7286 GB, free: 81.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.6942, allocations: 1.492 MB / 0.7301 GB, free: 80.17 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.6943, allocations: 21 kB / 0.7301 GB, free: 80.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6943, allocations: 39.56 kB / 0.7301 GB, free: 80.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.6943, allocations: 0 / 0.7301 GB, free: 80.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.02472/0.719, allocations: 8.259 MB / 0.7382 GB, free: 71.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.7191, allocations: 86.11 kB / 0.7383 GB, free: 71.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.7204, allocations: 0.8041 MB / 0.7391 GB, free: 70.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.7207, allocations: 37.7 kB / 0.7391 GB, free: 70.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.721, allocations: 488.8 kB / 0.7396 GB, free: 70.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.7213, allocations: 311.4 kB / 0.7399 GB, free: 70.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.7214, allocations: 16 kB / 0.7399 GB, free: 70.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.7215, allocations: 345.9 kB / 0.7402 GB, free: 69.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.7227, allocations: 0.6696 MB / 0.7409 GB, free: 69.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.7239, allocations: 0.7727 MB / 0.7416 GB, free: 68.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7252, allocations: 0.7205 MB / 0.7423 GB, free: 67.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.7252, allocations: 3.938 kB / 0.7423 GB, free: 67.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01227/0.7375, allocations: 4.82 MB / 0.747 GB, free: 62.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.7378, allocations: 0.7942 MB / 0.7478 GB, free: 61.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7378, allocations: 4 kB / 0.7478 GB, free: 61.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/0.7438, allocations: 2.1 MB / 0.7499 GB, free: 59.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.7446, allocations: 147.8 kB / 0.75 GB, free: 59.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.7643, allocations: 9.99 MB / 0.7598 GB, free: 49.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.7661, allocations: 199.2 kB / 0.76 GB, free: 49.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.7662, allocations: 31.98 kB / 0.76 GB, free: 49.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7662, allocations: 4 kB / 0.76 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01245/0.7787, allocations: 4.664 MB / 0.7645 GB, free: 44.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7788, allocations: 0 / 0.7645 GB, free: 44.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/0.7847, allocations: 2.098 MB / 0.7666 GB, free: 42.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.7856, allocations: 135.8 kB / 0.7667 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/0.8049, allocations: 9.969 MB / 0.7765 GB, free: 32.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8066, allocations: 187.2 kB / 0.7766 GB, free: 32.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.8068, allocations: 28 kB / 0.7767 GB, free: 31.98 MB / 474.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.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: 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 (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.0007395/0.8075, allocations: 320.5 kB / 0.777 GB, free: 31.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.808, allocations: 118.5 kB / 0.7771 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.8205, allocations: 4.85 MB / 0.7818 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.8205, allocations: 12 kB / 0.7818 GB, free: 26.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8206, allocations: 0 / 0.7818 GB, free: 26.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.8206, allocations: 3.984 kB / 0.7818 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.8351, allocations: 6.46 MB / 0.7881 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.8352, allocations: 4 kB / 0.7881 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.8359, allocations: 107.9 kB / 0.7882 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005434/0.8413, allocations: 2.062 MB / 0.7903 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.8415, allocations: 19.98 kB / 0.7903 GB, free: 17.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.8586, allocations: 8.651 MB / 0.7987 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8587, allocations: 0 / 0.7987 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.8729, allocations: 5.833 MB / 0.8044 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.8735, allocations: 211.4 kB / 0.8046 GB, free: 2.988 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.8738, allocations: 16 kB / 0.8046 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.875, allocations: 147.9 kB / 0.8048 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006046/0.8757, allocations: 204.6 kB / 0.805 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/0.8757, allocations: 20 kB / 0.805 GB, free: 2.609 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009392/0.8767, allocations: 0.6432 MB / 0.8056 GB, free: 1.957 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8767, allocations: 0 / 0.8056 GB, free: 1.957 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002078/0.8788, allocations: 0.6592 MB / 0.8063 GB, free: 1.297 MB / 474.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 () * Number of clocked 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.0003441/0.8791, allocations: 143.1 kB / 0.8064 GB, free: 1.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0115/0.8906, allocations: 4.263 MB / 0.8106 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8907, allocations: 0 / 0.8106 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005095/0.8958, allocations: 1.736 MB / 0.8123 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.8969, allocations: 92.39 kB / 0.8124 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.9024, allocations: 2.468 MB / 0.8148 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009051/0.9033, allocations: 1.128 MB / 0.8159 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005584/0.9039, allocations: 89.7 kB / 0.8159 GB, free: 7.273 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.9041, allocations: 59.42 kB / 0.816 GB, free: 7.215 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/0.9041, allocations: 0 / 0.816 GB, free: 7.215 MB / 490.7 MB Notification: Performance of Templates: time 0.04557/0.9497, allocations: 26.84 MB / 0.8422 GB, free: 12.39 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)