Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_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.001487/0.001487, allocations: 175.1 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.258/1.258, 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.0008387/0.0008387, allocations: 89.8 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.453/0.453, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.079e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3591, allocations: 69.35 MB / 0.5481 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4793, allocations: 96.98 MB / 0.6428 GB, free: 3.438 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4796, allocations: 83.95 kB / 0.6428 GB, free: 3.355 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06182/0.5414, allocations: 23.26 MB / 0.6655 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5414, allocations: 0 / 0.6655 GB, free: 11.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.073e-05/0.5415, allocations: 23.94 kB / 0.6656 GB, free: 11.91 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.005106/0.5466, allocations: 1.593 MB / 0.6671 GB, free: 10.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.5467, allocations: 19.95 kB / 0.6671 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003799/0.5471, allocations: 114.5 kB / 0.6673 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.5505, allocations: 0.5371 MB / 0.6678 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.5523, allocations: 0.6642 MB / 0.6684 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.5526, allocations: 264.1 kB / 0.6687 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.5529, allocations: 67.95 kB / 0.6687 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.5545, allocations: 0.7922 MB / 0.6695 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.5546, allocations: 0 / 0.6695 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.5547, allocations: 24 kB / 0.6695 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5547, allocations: 20 kB / 0.6696 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5561, allocations: 0.785 MB / 0.6703 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005929/0.562, allocations: 3.217 MB / 0.6735 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.5635, allocations: 1.139 MB / 0.6746 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.5643, allocations: 0.5349 MB / 0.6751 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5644, allocations: 8.781 kB / 0.6751 GB, free: 1.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.5645, allocations: 43.3 kB / 0.6752 GB, free: 1.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/0.5645, allocations: 0 / 0.6752 GB, free: 1.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.3312/0.8957, allocations: 3.968 MB / 0.679 GB, free: 107 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.8958, allocations: 63.5 kB / 0.6791 GB, free: 106.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.8976, allocations: 0.6644 MB / 0.6797 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002475/0.8978, allocations: 37.92 kB / 0.6798 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.8982, allocations: 442.4 kB / 0.6802 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.8985, allocations: 288.1 kB / 0.6805 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.8986, allocations: 16.31 kB / 0.6805 GB, free: 106.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.8987, allocations: 335.4 kB / 0.6808 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.8995, allocations: 404.2 kB / 0.6812 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/0.9003, allocations: 0.5011 MB / 0.6817 GB, free: 106.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.9011, allocations: 443.4 kB / 0.6821 GB, free: 106.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.9011, allocations: 2.062 kB / 0.6821 GB, free: 106.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01233/0.9134, allocations: 4.052 MB / 0.6861 GB, free: 105.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.9135, allocations: 13.7 kB / 0.6861 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.9135, allocations: 0 / 0.6861 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005226/0.9188, allocations: 1.733 MB / 0.6878 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.9194, allocations: 130.3 kB / 0.6879 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.9336, allocations: 7.277 MB / 0.695 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9351, allocations: 182.8 kB / 0.6952 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.9353, allocations: 23.25 kB / 0.6952 GB, free: 103.2 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.0003071/0.9357, allocations: 140.9 kB / 0.6953 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.936, allocations: 100.6 kB / 0.6954 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.949, allocations: 4.088 MB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.9491, allocations: 6.656 kB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.9491, allocations: 3.688 kB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-05/0.9492, allocations: 3.234 kB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/0.9705, allocations: 5.583 MB / 0.7049 GB, free: 99.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.9705, allocations: 0 / 0.7049 GB, free: 99.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.9714, allocations: 99.17 kB / 0.705 GB, free: 99.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007814/0.9793, allocations: 1.678 MB / 0.7066 GB, free: 98.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.9795, allocations: 19.47 kB / 0.7066 GB, free: 98.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.9982, allocations: 6.335 MB / 0.7128 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9982, allocations: 3.062 kB / 0.7128 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.013, allocations: 4.775 MB / 0.7175 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/1.013, allocations: 195.3 kB / 0.7177 GB, free: 88.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.013, allocations: 12 kB / 0.7177 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.015, allocations: 124.4 kB / 0.7178 GB, free: 87.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006102/1.015, allocations: 209.2 kB / 0.718 GB, free: 87.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.015, allocations: 19.56 kB / 0.718 GB, free: 87.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006827/1.016, allocations: 0.5184 MB / 0.7185 GB, free: 87.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.016, allocations: 0 / 0.7185 GB, free: 87.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001364/1.017, allocations: 397.4 kB / 0.7189 GB, free: 86.95 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.0123/1.03, allocations: 5.367 MB / 0.7242 GB, free: 81.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004641/1.034, allocations: 1.912 MB / 0.726 GB, free: 80 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.034, allocations: 0 / 0.726 GB, free: 80 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003871/1.038, allocations: 1.437 MB / 0.7274 GB, free: 78.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/1.039, allocations: 67.34 kB / 0.7275 GB, free: 78.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/1.042, allocations: 1.408 MB / 0.7289 GB, free: 77.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/1.043, allocations: 1.056 MB / 0.7299 GB, free: 75.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002622/1.043, allocations: 61.09 kB / 0.7299 GB, free: 75.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/1.043, allocations: 355.3 kB / 0.7303 GB, free: 75.58 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/1.043, allocations: 0 / 0.7303 GB, free: 75.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/1.088, allocations: 26.9 MB / 0.7566 GB, free: 49.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.088, allocations: 161.8 kB / 0.7567 GB, free: 48.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.665, allocations: 0 / 0.7567 GB, free: 48.93 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)