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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001157, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.393/1.393, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.000817/0.0008169, allocations: 92.48 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06667/0.06667, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2783/0.2783, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.701e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 69.25 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4166/0.554, allocations: 100.8 MB / 0.6874 GB, free: 15.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.5543, allocations: 73.78 kB / 0.6875 GB, free: 15.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06456/0.6189, allocations: 24.88 MB / 0.7118 GB, free: 10.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6189, allocations: 0 / 0.7118 GB, free: 10.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.6191, allocations: 16 kB / 0.7118 GB, free: 10.38 MB / 458.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.00571/0.6248, allocations: 1.718 MB / 0.7135 GB, free: 8.727 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.6249, allocations: 11.98 kB / 0.7135 GB, free: 8.715 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000383/0.6252, allocations: 129.9 kB / 0.7136 GB, free: 8.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.6286, allocations: 0.551 MB / 0.7142 GB, free: 8.121 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.6305, allocations: 0.761 MB / 0.7149 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.6308, allocations: 272.5 kB / 0.7152 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.6311, allocations: 76.92 kB / 0.7152 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.6329, allocations: 0.9289 MB / 0.7161 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6329, allocations: 7.984 kB / 0.7161 GB, free: 6.523 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.633, allocations: 32.31 kB / 0.7162 GB, free: 6.516 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.633, allocations: 16 kB / 0.7162 GB, free: 6.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6346, allocations: 0.858 MB / 0.717 GB, free: 5.965 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006357/0.641, allocations: 3.51 MB / 0.7205 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6426, allocations: 1.225 MB / 0.7217 GB, free: 2.223 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.6434, allocations: 0.5743 MB / 0.7222 GB, free: 1.914 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6436, allocations: 8.781 kB / 0.7222 GB, free: 1.906 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6436, allocations: 42.16 kB / 0.7223 GB, free: 1.863 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.6436, allocations: 0 / 0.7223 GB, free: 1.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01199/0.6556, allocations: 4.049 MB / 0.7262 GB, free: 14.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.6557, allocations: 85.89 kB / 0.7263 GB, free: 14.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6572, allocations: 0.7698 MB / 0.727 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.6574, allocations: 46.52 kB / 0.7271 GB, free: 13.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.6578, allocations: 491.3 kB / 0.7276 GB, free: 13.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/0.6582, allocations: 313.4 kB / 0.7279 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.6583, allocations: 13.62 kB / 0.7279 GB, free: 13.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6584, allocations: 339.8 kB / 0.7282 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007487/0.6592, allocations: 435.8 kB / 0.7286 GB, free: 12.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.66, allocations: 0.5344 MB / 0.7291 GB, free: 12.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/0.6608, allocations: 477.1 kB / 0.7296 GB, free: 11.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6609, allocations: 3.938 kB / 0.7296 GB, free: 11.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01195/0.6728, allocations: 4.131 MB / 0.7336 GB, free: 8.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.6732, allocations: 0.796 MB / 0.7344 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.6732, allocations: 4 kB / 0.7344 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.6788, allocations: 1.725 MB / 0.7361 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.6797, allocations: 143.4 kB / 0.7362 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.6947, allocations: 7.269 MB / 0.7433 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.6963, allocations: 203.1 kB / 0.7435 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.6965, allocations: 24 kB / 0.7435 GB, free: 96 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6966, allocations: 8 kB / 0.7436 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/0.7088, allocations: 4.007 MB / 0.7475 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.7088, allocations: 3.938 kB / 0.7475 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005431/0.7143, allocations: 1.723 MB / 0.7492 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.715, allocations: 135.8 kB / 0.7493 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.7295, allocations: 7.253 MB / 0.7564 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.731, allocations: 195.2 kB / 0.7565 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.7312, allocations: 27.98 kB / 0.7566 GB, free: 2.602 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.0003675/0.7316, allocations: 160.8 kB / 0.7567 GB, free: 2.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.732, allocations: 118.5 kB / 0.7568 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.7439, allocations: 4.173 MB / 0.7609 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.744, allocations: 8 kB / 0.7609 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.744, allocations: 0 / 0.7609 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.744, allocations: 3.984 kB / 0.7609 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.7578, allocations: 5.767 MB / 0.7666 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.7578, allocations: 0 / 0.7666 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.7585, allocations: 111.9 kB / 0.7667 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00515/0.7637, allocations: 1.691 MB / 0.7683 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.7638, allocations: 15.98 kB / 0.7683 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.777, allocations: 6.321 MB / 0.7745 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.777, allocations: 4 kB / 0.7745 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.7905, allocations: 4.909 MB / 0.7793 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.7911, allocations: 207.5 kB / 0.7795 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.7915, allocations: 16 kB / 0.7795 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.7928, allocations: 151.9 kB / 0.7797 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007209/0.7936, allocations: 200.4 kB / 0.7799 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.7937, allocations: 24 kB / 0.7799 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001087/0.7948, allocations: 0.605 MB / 0.7805 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7948, allocations: 0 / 0.7805 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002592/0.7974, allocations: 0.6707 MB / 0.7811 GB, free: 9.105 MB / 0.5105 GB 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.01391/0.8113, allocations: 5.496 MB / 0.7865 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.8214, allocations: 3.536 MB / 0.7899 GB, free: 12 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8214, allocations: 0 / 0.7899 GB, free: 12 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/0.8257, allocations: 1.48 MB / 0.7914 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009732/0.8267, allocations: 80.41 kB / 0.7915 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.8314, allocations: 1.762 MB / 0.7932 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8325, allocations: 1.134 MB / 0.7943 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008722/0.8334, allocations: 156.7 kB / 0.7944 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.8339, allocations: 415.3 kB / 0.7948 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/0.834, allocations: 0 / 0.7948 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/0.9057, allocations: 37.96 MB / 0.8319 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.9059, allocations: 174.7 kB / 0.8321 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.94, allocations: 0 / 0.8321 GB, free: 4.785 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)