Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_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.006182/0.006182, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.353/1.353, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008528/0.0008526, allocations: 101.1 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4897/0.4897, allocations: 79.43 MB / 420.7 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004145, allocations: 19.98 kB / 0.4891 GB, free: 1.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4265, allocations: 69.49 MB / 0.557 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5566, allocations: 97.41 MB / 0.6521 GB, free: 8.129 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5569, allocations: 88.94 kB / 0.6522 GB, free: 8.043 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06163/0.6186, allocations: 23.31 MB / 0.675 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6186, allocations: 0 / 0.675 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.6187, allocations: 16 kB / 0.675 GB, free: 0.6055 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.006605/0.6253, allocations: 1.76 MB / 0.6767 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.6254, allocations: 8.031 kB / 0.6767 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003658/0.6257, allocations: 118.5 kB / 0.6768 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.6309, allocations: 0.5487 MB / 0.6774 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.6331, allocations: 0.6641 MB / 0.678 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/0.6335, allocations: 271.3 kB / 0.6783 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.6337, allocations: 63.91 kB / 0.6783 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.637, allocations: 1.01 MB / 0.6793 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.637, allocations: 0 / 0.6793 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.6372, allocations: 24 kB / 0.6793 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.6372, allocations: 16 kB / 0.6794 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.6408, allocations: 1.051 MB / 0.6804 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008732/0.6495, allocations: 3.202 MB / 0.6835 GB, free: 7.574 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/0.653, allocations: 1.372 MB / 0.6848 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.6531, allocations: 12.66 kB / 0.6849 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.6532, allocations: 47.2 kB / 0.6849 GB, free: 6.016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 4.418e-06/0.6532, allocations: 0 / 0.6849 GB, free: 6.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.04132/0.6945, allocations: 7.76 MB / 0.6925 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6946, allocations: 60.06 kB / 0.6925 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.6961, allocations: 0.6688 MB / 0.6932 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.6964, allocations: 41.7 kB / 0.6932 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.6969, allocations: 428.3 kB / 0.6936 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.6973, allocations: 287.8 kB / 0.6939 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.6974, allocations: 16 kB / 0.6939 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.6976, allocations: 330 kB / 0.6942 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.6998, allocations: 0.6344 MB / 0.6949 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.702, allocations: 0.7258 MB / 0.6956 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.7042, allocations: 0.6599 MB / 0.6962 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7043, allocations: 0 / 0.6962 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.02042/0.7247, allocations: 4.723 MB / 0.7008 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.7248, allocations: 4 kB / 0.7008 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7248, allocations: 4 kB / 0.7008 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008478/0.7333, allocations: 2.181 MB / 0.703 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.734, allocations: 111.8 kB / 0.7031 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.7561, allocations: 9.797 MB / 0.7126 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.7575, allocations: 171.2 kB / 0.7128 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.7576, allocations: 24 kB / 0.7128 GB, free: 9.16 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.0004946/0.7581, allocations: 221.7 kB / 0.713 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.7583, allocations: 98.78 kB / 0.7131 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.772, allocations: 4.751 MB / 0.7178 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.7721, allocations: 8 kB / 0.7178 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7721, allocations: 0 / 0.7178 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.7721, allocations: 7.969 kB / 0.7178 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.7877, allocations: 6.211 MB / 0.7239 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.7878, allocations: 0 / 0.7239 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.7883, allocations: 95.89 kB / 0.7239 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/0.7945, allocations: 2.055 MB / 0.726 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.7946, allocations: 15.98 kB / 0.726 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.8133, allocations: 8.659 MB / 0.7344 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8133, allocations: 0 / 0.7344 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.8287, allocations: 5.645 MB / 0.7399 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.8292, allocations: 187.7 kB / 0.7401 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.8295, allocations: 12 kB / 0.7401 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.8306, allocations: 128 kB / 0.7402 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/0.8313, allocations: 200.6 kB / 0.7404 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.8315, allocations: 19.98 kB / 0.7405 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009257/0.8324, allocations: 0.5224 MB / 0.741 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8324, allocations: 0 / 0.741 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00154/0.834, allocations: 395.5 kB / 0.7413 GB, free: 11.61 MB / 0.5417 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 () * Number of clocked 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.01581/0.8498, allocations: 6.247 MB / 0.7474 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006341/0.8562, allocations: 2.396 MB / 0.7498 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8562, allocations: 0.5625 kB / 0.7498 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/0.8609, allocations: 1.689 MB / 0.7514 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.8617, allocations: 63.31 kB / 0.7515 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/0.8868, allocations: 11.37 MB / 0.7626 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.8878, allocations: 1.048 MB / 0.7636 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.8882, allocations: 65.12 kB / 0.7637 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.8889, allocations: 359.3 kB / 0.764 GB, free: 4.031 MB / 0.5573 GB Notification: Performance of SimCode: time 3.547e-06/0.8889, allocations: 3.938 kB / 0.764 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3175/1.206, allocations: 26.49 MB / 0.7899 GB, free: 151.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.207, allocations: 199.2 kB / 0.7901 GB, free: 151.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.107/4.313, allocations: 0 / 0.7901 GB, free: 151.2 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)