Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",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.001381/0.001381, allocations: 180.9 kB / 7.651 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.383/1.383, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008593/0.0008593, allocations: 92.2 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4741/0.4741, allocations: 78.13 MB / 409.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.875e-05, allocations: 7.938 kB / 485 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 69.36 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5668, allocations: 98.12 MB / 0.6372 GB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.5671, allocations: 79.95 kB / 0.6373 GB, free: 1.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06526/0.6323, allocations: 24.46 MB / 0.6612 GB, free: 9.094 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6324, allocations: 0 / 0.6612 GB, free: 9.094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.939e-05/0.6324, allocations: 24 kB / 0.6612 GB, free: 9.07 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004527/0.637, allocations: 1.676 MB / 0.6629 GB, free: 7.348 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.637, allocations: 8.031 kB / 0.6629 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.6404, allocations: 0.5449 MB / 0.6634 GB, free: 6.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.6419, allocations: 0.7151 MB / 0.6641 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.6422, allocations: 240.2 kB / 0.6643 GB, free: 5.762 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.6423, allocations: 45.59 kB / 0.6644 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/0.6437, allocations: 0.7733 MB / 0.6651 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6451, allocations: 0.8133 MB / 0.6659 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.6451, allocations: 0 / 0.6659 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.6452, allocations: 7.984 kB / 0.6659 GB, free: 4.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.6452, allocations: 16 kB / 0.6659 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/0.6512, allocations: 3.396 MB / 0.6693 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.6529, allocations: 1.234 MB / 0.6705 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.6537, allocations: 0.543 MB / 0.671 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.6538, allocations: 20.72 kB / 0.671 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.6538, allocations: 39.34 kB / 0.6711 GB, free: 14.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.935e-06/0.6538, allocations: 4 kB / 0.6711 GB, free: 14.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01233/0.6662, allocations: 3.965 MB / 0.6749 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.6663, allocations: 93.83 kB / 0.675 GB, free: 10.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/0.6673, allocations: 0.6275 MB / 0.6756 GB, free: 9.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.6675, allocations: 26.45 kB / 0.6757 GB, free: 9.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.6678, allocations: 464.4 kB / 0.6761 GB, free: 9.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.6681, allocations: 307.3 kB / 0.6764 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.6682, allocations: 0 / 0.6764 GB, free: 9.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6683, allocations: 341.9 kB / 0.6767 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.669, allocations: 430.6 kB / 0.6771 GB, free: 8.297 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.6697, allocations: 0.5285 MB / 0.6776 GB, free: 7.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.6704, allocations: 474.3 kB / 0.6781 GB, free: 7.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6705, allocations: 0.5625 kB / 0.6781 GB, free: 7.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0123/0.6828, allocations: 4.122 MB / 0.6821 GB, free: 3.137 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.6831, allocations: 0.882 MB / 0.683 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6832, allocations: 4 kB / 0.683 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005709/0.6889, allocations: 1.67 MB / 0.6846 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.6897, allocations: 143.8 kB / 0.6848 GB, free: 380 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.7038, allocations: 7.087 MB / 0.6917 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.7051, allocations: 175.1 kB / 0.6918 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.7052, allocations: 31.98 kB / 0.6919 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.7052, allocations: 4 kB / 0.6919 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01204/0.7173, allocations: 3.978 MB / 0.6958 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.7173, allocations: 4 kB / 0.6958 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.7228, allocations: 1.679 MB / 0.6974 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.7235, allocations: 137.3 kB / 0.6975 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.7374, allocations: 7.084 MB / 0.7045 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7388, allocations: 163.2 kB / 0.7046 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.7389, allocations: 39.88 kB / 0.7046 GB, free: 11.74 MB / 0.5105 GB 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 (73): * Single equations (assignments): 72 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002949/0.7392, allocations: 114 kB / 0.7048 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01236/0.7516, allocations: 3.976 MB / 0.7086 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.7521, allocations: 106.7 kB / 0.7087 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.7643, allocations: 4.075 MB / 0.7127 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.7644, allocations: 15.98 kB / 0.7127 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7644, allocations: 0 / 0.7127 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.7644, allocations: 3.984 kB / 0.7127 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.7791, allocations: 5.598 MB / 0.7182 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7792, allocations: 0 / 0.7182 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/0.7799, allocations: 119.8 kB / 0.7183 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005345/0.7853, allocations: 1.663 MB / 0.7199 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.7854, allocations: 11.98 kB / 0.72 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.7983, allocations: 6.184 MB / 0.726 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.7983, allocations: 0 / 0.726 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.8124, allocations: 4.835 MB / 0.7307 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.813, allocations: 199.5 kB / 0.7309 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.8132, allocations: 0 / 0.7309 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.8142, allocations: 123.9 kB / 0.731 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/0.8148, allocations: 215 kB / 0.7312 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.8149, allocations: 31.89 kB / 0.7313 GB, free: 156 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006553/0.8156, allocations: 484.2 kB / 0.7317 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8156, allocations: 1.031 kB / 0.7317 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001829/0.8174, allocations: 0.5928 MB / 0.7323 GB, free: 15.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.01388/0.8313, allocations: 5.546 MB / 0.7377 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009906/0.8413, allocations: 3.445 MB / 0.7411 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.8413, allocations: 0 / 0.7411 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004204/0.8455, allocations: 1.436 MB / 0.7425 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007761/0.8463, allocations: 68.17 kB / 0.7426 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.85, allocations: 1.686 MB / 0.7442 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.8506, allocations: 1.106 MB / 0.7453 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006438/0.8512, allocations: 132.2 kB / 0.7454 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.8517, allocations: 387.3 kB / 0.7458 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of SimCode: time 9.82e-07/0.8517, allocations: 4 kB / 0.7458 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/1.192, allocations: 34.54 MB / 0.7795 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.192, allocations: 152.1 kB / 0.7797 GB, free: 149.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/4.32, allocations: 0 / 0.7797 GB, free: 149.5 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)