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.001039/0.001039, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000826/0.000826, allocations: 86.23 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4962/0.4962, allocations: 78.13 MB / 409.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.227e-05, allocations: 7.922 kB / 485.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 69.36 MB / 0.5414 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.5714, allocations: 96.08 MB / 0.6352 GB, free: 3.535 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.5716, allocations: 84.94 kB / 0.6353 GB, free: 3.453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06158/0.6332, allocations: 22.63 MB / 0.6574 GB, free: 12.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6333, allocations: 0 / 0.6574 GB, free: 12.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.6333, allocations: 16 kB / 0.6574 GB, free: 12.86 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004188/0.6375, allocations: 1.585 MB / 0.659 GB, free: 11.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6376, allocations: 8.031 kB / 0.659 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.6408, allocations: 0.5371 MB / 0.6595 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6421, allocations: 0.6641 MB / 0.6602 GB, free: 9.977 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.6423, allocations: 235.4 kB / 0.6604 GB, free: 9.711 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.6425, allocations: 39.98 kB / 0.6604 GB, free: 9.672 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001324/0.6438, allocations: 0.7463 MB / 0.6612 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6451, allocations: 0.6756 MB / 0.6618 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6451, allocations: 0 / 0.6618 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.6452, allocations: 0 / 0.6618 GB, free: 8.246 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.6452, allocations: 16 kB / 0.6618 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005356/0.6506, allocations: 3.083 MB / 0.6649 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.6519, allocations: 1.108 MB / 0.6659 GB, free: 3.781 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.6526, allocations: 0.5115 MB / 0.6664 GB, free: 3.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.6527, allocations: 24.75 kB / 0.6665 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.6528, allocations: 35.34 kB / 0.6665 GB, free: 3.199 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 3.367e-06/0.6528, allocations: 5.109 kB / 0.6665 GB, free: 3.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.01229/0.6651, allocations: 3.91 MB / 0.6703 GB, free: 15.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.6652, allocations: 60.19 kB / 0.6704 GB, free: 15.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.6663, allocations: 0.6025 MB / 0.671 GB, free: 14.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.6665, allocations: 25.7 kB / 0.671 GB, free: 14.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.6668, allocations: 436.3 kB / 0.6714 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.6671, allocations: 279.8 kB / 0.6717 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.6672, allocations: 0 / 0.6717 GB, free: 13.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6674, allocations: 337.9 kB / 0.672 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.668, allocations: 385.6 kB / 0.6724 GB, free: 13.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.6688, allocations: 483.5 kB / 0.6728 GB, free: 12.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.6694, allocations: 421.8 kB / 0.6732 GB, free: 12.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6695, allocations: 4 kB / 0.6732 GB, free: 12.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01267/0.6821, allocations: 3.992 MB / 0.6771 GB, free: 8.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6822, allocations: 8 kB / 0.6771 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6822, allocations: 0 / 0.6771 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005676/0.6879, allocations: 1.692 MB / 0.6788 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.6886, allocations: 112.6 kB / 0.6789 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.7031, allocations: 6.885 MB / 0.6856 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.7045, allocations: 159.3 kB / 0.6858 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.761e-05/0.7046, allocations: 31.98 kB / 0.6858 GB, free: 15.21 MB / 0.4948 GB 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.0003152/0.705, allocations: 122 kB / 0.6859 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01244/0.7174, allocations: 3.91 MB / 0.6897 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.718, allocations: 99.34 kB / 0.6898 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.7304, allocations: 4 MB / 0.6937 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7305, allocations: 8 kB / 0.6937 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7305, allocations: 0 / 0.6937 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.7305, allocations: 3.984 kB / 0.6937 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.746, allocations: 5.403 MB / 0.699 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.746, allocations: 0.5625 kB / 0.699 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.7467, allocations: 95.84 kB / 0.6991 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005619/0.7523, allocations: 1.675 MB / 0.7007 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7525, allocations: 0 / 0.7007 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.7652, allocations: 6.199 MB / 0.7068 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7653, allocations: 0 / 0.7068 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.7783, allocations: 4.698 MB / 0.7114 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.7787, allocations: 187.6 kB / 0.7116 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7789, allocations: 0 / 0.7116 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.7799, allocations: 120 kB / 0.7117 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/0.7805, allocations: 196.4 kB / 0.7119 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.7806, allocations: 20 kB / 0.7119 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005798/0.7812, allocations: 475.1 kB / 0.7123 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7812, allocations: 0 / 0.7123 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001089/0.7823, allocations: 355.5 kB / 0.7127 GB, free: 3.355 MB / 0.5105 GB 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.01335/0.7956, allocations: 5.258 MB / 0.7178 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004953/0.8006, allocations: 1.844 MB / 0.7196 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8006, allocations: 5.344 kB / 0.7196 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.8047, allocations: 1.38 MB / 0.721 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.8053, allocations: 55.23 kB / 0.721 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.8078, allocations: 1.271 MB / 0.7223 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.8084, allocations: 1.048 MB / 0.7233 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.8086, allocations: 53.06 kB / 0.7233 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.8091, allocations: 359.3 kB / 0.7237 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.8091, allocations: 0 / 0.7237 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.8589, allocations: 24.68 MB / 0.7478 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.8592, allocations: 132.8 kB / 0.7479 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.671, allocations: 3.656 kB / 0.7479 GB, free: 15.3 MB / 0.5573 GB (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)