Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 174.8 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.432/1.432, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0009307/0.0009308, allocations: 101.4 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.483/0.483, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.092e-05, allocations: 4 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4229, allocations: 69.34 MB / 0.5481 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5546, allocations: 96.97 MB / 0.6428 GB, free: 3.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5549, allocations: 79.95 kB / 0.6429 GB, free: 3.492 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06528/0.6202, allocations: 23.27 MB / 0.6656 GB, free: 12.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6202, allocations: 0 / 0.6656 GB, free: 12.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.861e-05/0.6203, allocations: 19.94 kB / 0.6656 GB, free: 12.04 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005228/0.6256, allocations: 1.595 MB / 0.6672 GB, free: 10.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6256, allocations: 19.97 kB / 0.6672 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003832/0.626, allocations: 114.5 kB / 0.6673 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.6297, allocations: 0.5371 MB / 0.6678 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.6316, allocations: 0.6641 MB / 0.6685 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.632, allocations: 268.1 kB / 0.6687 GB, free: 8.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/0.6323, allocations: 67.95 kB / 0.6688 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.6341, allocations: 0.7844 MB / 0.6696 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6341, allocations: 0 / 0.6696 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.6342, allocations: 24 kB / 0.6696 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.6342, allocations: 16 kB / 0.6696 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.6359, allocations: 0.7811 MB / 0.6704 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007055/0.643, allocations: 3.221 MB / 0.6735 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.6447, allocations: 1.139 MB / 0.6746 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.6458, allocations: 0.5388 MB / 0.6751 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.646, allocations: 20.75 kB / 0.6752 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.646, allocations: 43.3 kB / 0.6752 GB, free: 1.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 4.529e-06/0.646, allocations: 0 / 0.6752 GB, free: 1.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.349/0.995, allocations: 3.96 MB / 0.6791 GB, free: 107.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.9951, allocations: 60.97 kB / 0.6791 GB, free: 107 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.9965, allocations: 0.668 MB / 0.6798 GB, free: 106.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.9967, allocations: 37.17 kB / 0.6798 GB, free: 106.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.997, allocations: 442.8 kB / 0.6802 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.9973, allocations: 294.7 kB / 0.6805 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.9974, allocations: 12.72 kB / 0.6805 GB, free: 106.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.9975, allocations: 339.2 kB / 0.6808 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.9982, allocations: 405 kB / 0.6812 GB, free: 106.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.999, allocations: 0.4985 MB / 0.6817 GB, free: 106.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.9998, allocations: 443.8 kB / 0.6821 GB, free: 106.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9998, allocations: 0.875 kB / 0.6821 GB, free: 106.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01265/1.012, allocations: 4.055 MB / 0.6861 GB, free: 106 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.012, allocations: 9.703 kB / 0.6861 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.013, allocations: 3.906 kB / 0.6861 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005171/1.018, allocations: 1.725 MB / 0.6878 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/1.018, allocations: 125.4 kB / 0.6879 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/1.032, allocations: 7.279 MB / 0.695 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.033, allocations: 175.5 kB / 0.6952 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.356e-05/1.033, allocations: 24.22 kB / 0.6952 GB, free: 103.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0002049/1.033, allocations: 152.8 kB / 0.6954 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/1.034, allocations: 100.5 kB / 0.6955 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.045, allocations: 4.081 MB / 0.6994 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.045, allocations: 14.23 kB / 0.6995 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.045, allocations: 0 / 0.6995 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/1.045, allocations: 3.281 kB / 0.6995 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.057, allocations: 5.581 MB / 0.7049 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.057, allocations: 3.938 kB / 0.7049 GB, free: 99.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/1.058, allocations: 101.1 kB / 0.705 GB, free: 99.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/1.063, allocations: 1.69 MB / 0.7067 GB, free: 98.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.063, allocations: 12 kB / 0.7067 GB, free: 98.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/1.075, allocations: 6.339 MB / 0.7129 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.075, allocations: 0 / 0.7129 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.087, allocations: 4.773 MB / 0.7175 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/1.087, allocations: 195 kB / 0.7177 GB, free: 88.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.087, allocations: 12 kB / 0.7177 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/1.088, allocations: 132.1 kB / 0.7179 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/1.089, allocations: 194.1 kB / 0.718 GB, free: 87.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/1.089, allocations: 23.75 kB / 0.7181 GB, free: 87.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005755/1.09, allocations: 0.5161 MB / 0.7186 GB, free: 87.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.09, allocations: 0 / 0.7186 GB, free: 87.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001057/1.091, allocations: 395.7 kB / 0.7189 GB, free: 87.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.01259/1.103, allocations: 5.365 MB / 0.7242 GB, free: 82.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005003/1.108, allocations: 1.918 MB / 0.7261 GB, free: 80.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.108, allocations: 4.188 kB / 0.7261 GB, free: 80.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.112, allocations: 1.44 MB / 0.7275 GB, free: 78.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/1.113, allocations: 67.3 kB / 0.7275 GB, free: 78.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/1.116, allocations: 1.405 MB / 0.7289 GB, free: 77.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/1.117, allocations: 1.048 MB / 0.7299 GB, free: 76.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002527/1.117, allocations: 60.98 kB / 0.73 GB, free: 76.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/1.117, allocations: 351.3 kB / 0.7303 GB, free: 75.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/1.117, allocations: 0 / 0.7303 GB, free: 75.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/1.16, allocations: 26.9 MB / 0.7566 GB, free: 49.33 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.16, allocations: 174.5 kB / 0.7568 GB, free: 49.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.885, allocations: 0 / 0.7568 GB, free: 49.11 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)