Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001163/0.001163, allocations: 174.7 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.377/1.377, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.000926/0.0009256, allocations: 87.56 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.4475/0.4475, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.101e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3486, allocations: 69.35 MB / 0.5481 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4629, allocations: 96.76 MB / 0.6426 GB, free: 3.773 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4632, allocations: 79.95 kB / 0.6427 GB, free: 3.695 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0614/0.5246, allocations: 22.93 MB / 0.665 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5246, allocations: 0 / 0.665 GB, free: 12.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.5247, allocations: 23.94 kB / 0.6651 GB, free: 12.58 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004495/0.5292, allocations: 1.591 MB / 0.6666 GB, free: 10.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5292, allocations: 15.97 kB / 0.6666 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002538/0.5295, allocations: 118.5 kB / 0.6667 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5328, allocations: 0.5332 MB / 0.6673 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5342, allocations: 0.6525 MB / 0.6679 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.5345, allocations: 263.4 kB / 0.6682 GB, free: 9.273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5347, allocations: 67.95 kB / 0.6682 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.5361, allocations: 0.768 MB / 0.669 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5361, allocations: 3.938 kB / 0.669 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.5362, allocations: 28 kB / 0.669 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.5363, allocations: 19.94 kB / 0.669 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5376, allocations: 0.7784 MB / 0.6698 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/0.5429, allocations: 3.194 MB / 0.6729 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.5444, allocations: 1.142 MB / 0.674 GB, free: 2.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.5452, allocations: 0.5349 MB / 0.6745 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.5453, allocations: 12.77 kB / 0.6746 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5453, allocations: 43.34 kB / 0.6746 GB, free: 2.383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.645e-06/0.5453, allocations: 0 / 0.6746 GB, free: 2.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.3624/0.9078, allocations: 3.957 MB / 0.6785 GB, free: 106.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9079, allocations: 61.53 kB / 0.6785 GB, free: 106.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.9094, allocations: 0.6574 MB / 0.6792 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.9097, allocations: 39.42 kB / 0.6792 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.9101, allocations: 435.2 kB / 0.6796 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.9105, allocations: 285.6 kB / 0.6799 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.772e-05/0.9106, allocations: 14.66 kB / 0.6799 GB, free: 106.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.9107, allocations: 333.2 kB / 0.6802 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.9119, allocations: 403.6 kB / 0.6806 GB, free: 105.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.9131, allocations: 0.4926 MB / 0.6811 GB, free: 105.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.9143, allocations: 437.9 kB / 0.6815 GB, free: 105.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.9143, allocations: 1.406 kB / 0.6815 GB, free: 105.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0187/0.933, allocations: 4.073 MB / 0.6855 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.9331, allocations: 9 kB / 0.6855 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9331, allocations: 0 / 0.6855 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00758/0.9407, allocations: 1.811 MB / 0.6873 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.9416, allocations: 114.1 kB / 0.6874 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.9609, allocations: 7.097 MB / 0.6943 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.9627, allocations: 175.9 kB / 0.6945 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.9628, allocations: 27.25 kB / 0.6945 GB, free: 103 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0002892/0.9631, allocations: 149 kB / 0.6946 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.9634, allocations: 99.97 kB / 0.6947 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/0.9799, allocations: 4.085 MB / 0.6987 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.98, allocations: 11.28 kB / 0.6987 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.98, allocations: 4 kB / 0.6987 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.98, allocations: 3.234 kB / 0.6987 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.9984, allocations: 5.56 MB / 0.7042 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.9985, allocations: 0 / 0.7042 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/0.9993, allocations: 94 kB / 0.7043 GB, free: 99.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007147/1.006, allocations: 1.674 MB / 0.7059 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/1.007, allocations: 18.34 kB / 0.7059 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.024, allocations: 6.337 MB / 0.7121 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.024, allocations: 6.797 kB / 0.7121 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.042, allocations: 4.762 MB / 0.7167 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/1.043, allocations: 189.1 kB / 0.7169 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/1.043, allocations: 16 kB / 0.7169 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.044, allocations: 130.2 kB / 0.7171 GB, free: 88.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008108/1.045, allocations: 194.9 kB / 0.7173 GB, free: 88.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/1.045, allocations: 24 kB / 0.7173 GB, free: 88.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008252/1.046, allocations: 0.5072 MB / 0.7178 GB, free: 87.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.046, allocations: 4 kB / 0.7178 GB, free: 87.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00152/1.048, allocations: 392.4 kB / 0.7181 GB, free: 87.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.01827/1.066, allocations: 5.347 MB / 0.7234 GB, free: 82.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006974/1.073, allocations: 1.909 MB / 0.7252 GB, free: 80.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.073, allocations: 0 / 0.7252 GB, free: 80.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005568/1.079, allocations: 1.433 MB / 0.7266 GB, free: 79.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/1.079, allocations: 63.31 kB / 0.7267 GB, free: 79.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/1.083, allocations: 1.338 MB / 0.728 GB, free: 78.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.084, allocations: 1.044 MB / 0.729 GB, free: 76.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003846/1.084, allocations: 60.86 kB / 0.7291 GB, free: 76.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/1.085, allocations: 355.3 kB / 0.7294 GB, free: 76.56 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.085, allocations: 0 / 0.7294 GB, free: 76.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/1.145, allocations: 26.45 MB / 0.7552 GB, free: 50.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.146, allocations: 181.6 kB / 0.7554 GB, free: 50.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.852, allocations: 0 / 0.7554 GB, free: 50.31 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)