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.007638/0.007638, 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.305/1.305, 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.0008119/0.0008118, allocations: 94.84 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/package.mo): time 0.05917/0.05917, allocations: 12.21 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4337/0.4337, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006303, allocations: 20.06 kB / 0.528 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1605, allocations: 69.24 MB / 0.5956 GB, free: 4.312 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.642, allocations: 100.9 MB / 0.6942 GB, free: 35.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.6422, allocations: 84.58 kB / 0.6943 GB, free: 35.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06693/0.7092, allocations: 24.96 MB / 0.7187 GB, free: 33.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.7092, allocations: 0 / 0.7187 GB, free: 33.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.7094, allocations: 23.84 kB / 0.7187 GB, free: 33.13 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.006439/0.7158, allocations: 1.948 MB / 0.7206 GB, free: 32.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.7159, allocations: 19.58 kB / 0.7206 GB, free: 32.27 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004257/0.7163, allocations: 130.2 kB / 0.7207 GB, free: 32.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.7198, allocations: 0.5596 MB / 0.7213 GB, free: 32.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.7219, allocations: 0.7944 MB / 0.722 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.7221, allocations: 267.4 kB / 0.7223 GB, free: 31.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.7224, allocations: 74.72 kB / 0.7224 GB, free: 31.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.7246, allocations: 1.185 MB / 0.7235 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7247, allocations: 0 / 0.7235 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.7248, allocations: 32.59 kB / 0.7236 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.7248, allocations: 18.91 kB / 0.7236 GB, free: 31.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.7272, allocations: 1.159 MB / 0.7247 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006002/0.7332, allocations: 3.518 MB / 0.7281 GB, free: 30.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.7351, allocations: 1.495 MB / 0.7296 GB, free: 29.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.7353, allocations: 16.47 kB / 0.7296 GB, free: 29.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7353, allocations: 42.66 kB / 0.7297 GB, free: 29.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 3.506e-06/0.7353, allocations: 4 kB / 0.7297 GB, free: 29.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.0267/0.762, allocations: 8.252 MB / 0.7377 GB, free: 29.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.7621, allocations: 89.83 kB / 0.7378 GB, free: 29.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.7636, allocations: 0.8026 MB / 0.7386 GB, free: 28.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.7639, allocations: 39.98 kB / 0.7386 GB, free: 28.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.7642, allocations: 489.4 kB / 0.7391 GB, free: 28.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.7646, allocations: 313.1 kB / 0.7394 GB, free: 28.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.7647, allocations: 18.69 kB / 0.7394 GB, free: 28.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.7648, allocations: 333.5 kB / 0.7397 GB, free: 28.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.7662, allocations: 0.6734 MB / 0.7404 GB, free: 28.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.7676, allocations: 0.7821 MB / 0.7412 GB, free: 28.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.769, allocations: 0.7108 MB / 0.7419 GB, free: 28.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.769, allocations: 0 / 0.7419 GB, free: 28.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01305/0.7821, allocations: 4.825 MB / 0.7466 GB, free: 27.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.7823, allocations: 0.7963 MB / 0.7473 GB, free: 26.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7824, allocations: 3.906 kB / 0.7473 GB, free: 26.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/0.7886, allocations: 2.101 MB / 0.7494 GB, free: 26.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.7895, allocations: 148.3 kB / 0.7495 GB, free: 26.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.8095, allocations: 9.98 MB / 0.7593 GB, free: 23.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8112, allocations: 202.2 kB / 0.7595 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.8115, allocations: 28.75 kB / 0.7595 GB, free: 23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8115, allocations: 3.75 kB / 0.7595 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01267/0.8242, allocations: 4.656 MB / 0.7641 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.8243, allocations: 3.906 kB / 0.7641 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/0.8304, allocations: 2.106 MB / 0.7661 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.8313, allocations: 132.8 kB / 0.7662 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.8522, allocations: 9.972 MB / 0.776 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.8539, allocations: 187.5 kB / 0.7762 GB, free: 17.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.8541, allocations: 30.86 kB / 0.7762 GB, free: 17.89 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.000886/0.855, allocations: 321.6 kB / 0.7765 GB, free: 17.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.8555, allocations: 118.5 kB / 0.7766 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.8682, allocations: 4.852 MB / 0.7813 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.8683, allocations: 8 kB / 0.7814 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8683, allocations: 7.938 kB / 0.7814 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.8683, allocations: 3.984 kB / 0.7814 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.8838, allocations: 6.451 MB / 0.7877 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.8839, allocations: 3.984 kB / 0.7877 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.8845, allocations: 111.4 kB / 0.7878 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005501/0.89, allocations: 2.057 MB / 0.7898 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.8902, allocations: 16.81 kB / 0.7898 GB, free: 5.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.9071, allocations: 8.655 MB / 0.7983 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9071, allocations: 0 / 0.7983 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.9229, allocations: 5.837 MB / 0.804 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006208/0.9236, allocations: 203.4 kB / 0.8041 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.924, allocations: 16 kB / 0.8042 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9253, allocations: 159.9 kB / 0.8043 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/0.926, allocations: 200.6 kB / 0.8045 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.9262, allocations: 20 kB / 0.8045 GB, free: 6.812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001343/0.9275, allocations: 0.6354 MB / 0.8051 GB, free: 6.168 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9275, allocations: 0 / 0.8051 GB, free: 6.168 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002701/0.9302, allocations: 0.6669 MB / 0.8058 GB, free: 5.5 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 () * 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.01629/0.9465, allocations: 6.424 MB / 0.8121 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01205/0.9586, allocations: 4.259 MB / 0.8162 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.9587, allocations: 4 kB / 0.8162 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005005/0.9637, allocations: 1.744 MB / 0.8179 GB, free: 9.004 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.9649, allocations: 84.41 kB / 0.818 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/0.9927, allocations: 12.45 MB / 0.8302 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008529/0.9936, allocations: 1.132 MB / 0.8313 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006107/0.9942, allocations: 89.7 kB / 0.8314 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/0.995, allocations: 415.3 kB / 0.8318 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/0.995, allocations: 4 kB / 0.8318 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07083/1.066, allocations: 36.28 MB / 0.8672 GB, free: 6.316 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.066, allocations: 204.7 kB / 0.8674 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.913, allocations: 3.938 kB / 0.8674 GB, free: 6.066 MB / 0.5417 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)