Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.006964/0.006964, allocations: 171.8 kB / 15.11 MB, free: 5.578 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.471/1.471, allocations: 223.2 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.0009264, allocations: 91.77 kB / 290.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5032/0.5032, allocations: 78.51 MB / 419.8 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 12 kB / 499.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 69.36 MB / 0.5558 GB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5861, allocations: 97.33 MB / 0.6509 GB, free: 4.852 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5864, allocations: 82.48 kB / 0.6509 GB, free: 4.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05939/0.6459, allocations: 23.49 MB / 0.6739 GB, free: 13.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6459, allocations: 0 / 0.6739 GB, free: 13.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.872e-05/0.646, allocations: 24 kB / 0.6739 GB, free: 13.79 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004671/0.6507, allocations: 1.783 MB / 0.6756 GB, free: 11.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6507, allocations: 12.02 kB / 0.6757 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.6509, allocations: 118.5 kB / 0.6758 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.654, allocations: 0.5371 MB / 0.6763 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.6555, allocations: 0.6874 MB / 0.677 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.6558, allocations: 260.2 kB / 0.6772 GB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.656, allocations: 71.89 kB / 0.6773 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.658, allocations: 1.026 MB / 0.6783 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.658, allocations: 0 / 0.6783 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.6581, allocations: 24 kB / 0.6783 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.6581, allocations: 16 kB / 0.6783 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.6601, allocations: 1.066 MB / 0.6794 GB, free: 8.047 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00545/0.6656, allocations: 3.217 MB / 0.6825 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.6677, allocations: 1.372 MB / 0.6838 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.6678, allocations: 12.98 kB / 0.6839 GB, free: 3.172 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.6678, allocations: 43.55 kB / 0.6839 GB, free: 3.121 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 3.417e-06/0.6678, allocations: 0 / 0.6839 GB, free: 3.121 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.02484/0.6927, allocations: 7.689 MB / 0.6914 GB, free: 11.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.6928, allocations: 62.66 kB / 0.6915 GB, free: 11.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6939, allocations: 0.665 MB / 0.6921 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.6941, allocations: 41.7 kB / 0.6922 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.6944, allocations: 444.4 kB / 0.6926 GB, free: 10.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.6948, allocations: 283.8 kB / 0.6929 GB, free: 9.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.6948, allocations: 12 kB / 0.6929 GB, free: 9.871 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.695, allocations: 349.9 kB / 0.6932 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.6963, allocations: 0.6305 MB / 0.6938 GB, free: 8.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6976, allocations: 0.7375 MB / 0.6945 GB, free: 8.129 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6989, allocations: 0.6716 MB / 0.6952 GB, free: 7.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.699, allocations: 0 / 0.6952 GB, free: 7.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01345/0.7124, allocations: 4.782 MB / 0.6999 GB, free: 2.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.7125, allocations: 8 kB / 0.6999 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.7125, allocations: 3.984 kB / 0.6999 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006344/0.7189, allocations: 2.087 MB / 0.7019 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.7195, allocations: 119.8 kB / 0.702 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.7404, allocations: 9.99 MB / 0.7118 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7418, allocations: 179.2 kB / 0.7119 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.7419, allocations: 29.41 kB / 0.712 GB, free: 6.113 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005127/0.7424, allocations: 219.5 kB / 0.7122 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.7426, allocations: 102.8 kB / 0.7123 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.7559, allocations: 4.743 MB / 0.7169 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.756, allocations: 12 kB / 0.7169 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.756, allocations: 0 / 0.7169 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/0.756, allocations: 3.984 kB / 0.7169 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.7714, allocations: 6.235 MB / 0.723 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.7715, allocations: 0 / 0.723 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/0.7721, allocations: 99.88 kB / 0.7231 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006206/0.7784, allocations: 2.057 MB / 0.7251 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.7786, allocations: 12 kB / 0.7251 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.7968, allocations: 8.641 MB / 0.7336 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7969, allocations: 4.312 kB / 0.7336 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.812, allocations: 5.669 MB / 0.7391 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.8126, allocations: 187.7 kB / 0.7393 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.8128, allocations: 20 kB / 0.7393 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/0.8137, allocations: 123.9 kB / 0.7394 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007174/0.8145, allocations: 200.6 kB / 0.7396 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.8145, allocations: 31.98 kB / 0.7397 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007492/0.8153, allocations: 0.5185 MB / 0.7402 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.81e-07/0.8153, allocations: 0 / 0.7402 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00128/0.8166, allocations: 403.5 kB / 0.7405 GB, free: 8.523 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.01594/0.8325, allocations: 6.258 MB / 0.7467 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006485/0.8391, allocations: 2.399 MB / 0.749 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8391, allocations: 4.125 kB / 0.749 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/0.8439, allocations: 1.7 MB / 0.7507 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.8448, allocations: 68.06 kB / 0.7507 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.8684, allocations: 11.65 MB / 0.7621 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.8691, allocations: 1.048 MB / 0.7631 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003593/0.8695, allocations: 61.22 kB / 0.7632 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.87, allocations: 359.3 kB / 0.7635 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of SimCode: time 1.442e-06/0.87, allocations: 4 kB / 0.7635 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0482/0.9182, allocations: 26.96 MB / 0.7899 GB, free: 5.902 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.9184, allocations: 190.9 kB / 0.79 GB, free: 5.664 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.786, allocations: 0 / 0.79 GB, free: 5.664 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)