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.00607/0.00607, allocations: 171.1 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.432/1.432, allocations: 223.2 MB / 239 MB, free: 1.797 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.001037/0.001037, allocations: 100.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5824/0.5824, allocations: 78.59 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 12 kB / 499.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4467, allocations: 69.35 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.5737, allocations: 98.86 MB / 0.6524 GB, free: 7.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5739, allocations: 84.61 kB / 0.6525 GB, free: 7.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06692/0.6409, allocations: 24.84 MB / 0.6767 GB, free: 14.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6409, allocations: 4 kB / 0.6768 GB, free: 14.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.905e-05/0.641, allocations: 20 kB / 0.6768 GB, free: 14.54 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004994/0.646, allocations: 1.877 MB / 0.6786 GB, free: 12.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.646, allocations: 8.031 kB / 0.6786 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.6463, allocations: 126.5 kB / 0.6787 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.6495, allocations: 0.5487 MB / 0.6793 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.651, allocations: 0.7224 MB / 0.68 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.6513, allocations: 256.2 kB / 0.6802 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.6514, allocations: 72 kB / 0.6803 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.6537, allocations: 1.172 MB / 0.6814 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6537, allocations: 0 / 0.6814 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.6538, allocations: 28 kB / 0.6815 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6538, allocations: 20 kB / 0.6815 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.656, allocations: 1.117 MB / 0.6826 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006333/0.6624, allocations: 3.524 MB / 0.686 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.665, allocations: 1.526 MB / 0.6875 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.6652, allocations: 17 kB / 0.6875 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.6652, allocations: 39.56 kB / 0.6876 GB, free: 3.055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 4.368e-06/0.6652, allocations: 0 / 0.6876 GB, free: 3.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02702/0.6923, allocations: 8.29 MB / 0.6956 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.6924, allocations: 86.11 kB / 0.6957 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.6943, allocations: 0.6943 MB / 0.6964 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003015/0.6946, allocations: 45.64 kB / 0.6965 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.6952, allocations: 456.5 kB / 0.6969 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/0.6958, allocations: 319.3 kB / 0.6972 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.6959, allocations: 20 kB / 0.6972 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6961, allocations: 338 kB / 0.6975 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.6978, allocations: 0.6812 MB / 0.6982 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.6994, allocations: 0.8008 MB / 0.699 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.701, allocations: 0.7182 MB / 0.6997 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.701, allocations: 0 / 0.6997 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01421/0.7153, allocations: 4.871 MB / 0.7044 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004369/0.7157, allocations: 0.8814 MB / 0.7053 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.7158, allocations: 3.984 kB / 0.7053 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/0.7224, allocations: 2.114 MB / 0.7074 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00081/0.7232, allocations: 135.8 kB / 0.7075 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/0.7463, allocations: 10.01 MB / 0.7173 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.7479, allocations: 187.1 kB / 0.7175 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.7481, allocations: 35.98 kB / 0.7175 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7481, allocations: 4 kB / 0.7175 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01383/0.7619, allocations: 4.727 MB / 0.7221 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.762, allocations: 0 / 0.7221 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006413/0.7684, allocations: 2.105 MB / 0.7242 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.7691, allocations: 135.8 kB / 0.7243 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.7908, allocations: 9.994 MB / 0.7341 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.7924, allocations: 183.2 kB / 0.7342 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.7926, allocations: 24 kB / 0.7343 GB, free: 2.73 MB / 0.5261 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 () * Number of clocked 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.000868/0.7935, allocations: 297.6 kB / 0.7345 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.794, allocations: 114.7 kB / 0.7346 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.8079, allocations: 4.841 MB / 0.7394 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.808, allocations: 12 kB / 0.7394 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.808, allocations: 0 / 0.7394 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.808, allocations: 7.984 kB / 0.7394 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.8244, allocations: 6.452 MB / 0.7457 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.8245, allocations: 4 kB / 0.7457 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.8252, allocations: 115.9 kB / 0.7458 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006064/0.8313, allocations: 2.053 MB / 0.7478 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.8315, allocations: 23.92 kB / 0.7478 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/0.8512, allocations: 8.639 MB / 0.7563 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.8513, allocations: 4 kB / 0.7563 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.8679, allocations: 5.832 MB / 0.762 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.8685, allocations: 199.5 kB / 0.7622 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.8689, allocations: 16 kB / 0.7622 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.8702, allocations: 139.9 kB / 0.7623 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007144/0.871, allocations: 208.6 kB / 0.7625 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8711, allocations: 20 kB / 0.7625 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008794/0.872, allocations: 0.5432 MB / 0.7631 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.872, allocations: 0 / 0.7631 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002546/0.8745, allocations: 0.6553 MB / 0.7637 GB, free: 4.191 MB / 0.5573 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 () * Number of clocked 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.3329/1.207, allocations: 6.558 MB / 0.7701 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.219, allocations: 4.289 MB / 0.7743 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.219, allocations: 2.562 kB / 0.7743 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/1.224, allocations: 1.746 MB / 0.776 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/1.225, allocations: 85.42 kB / 0.7761 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/1.229, allocations: 4.354 MB / 0.7803 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/1.23, allocations: 1.103 MB / 0.7814 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000391/1.23, allocations: 77.94 kB / 0.7815 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.231, allocations: 391.6 kB / 0.7819 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of SimCode: time 5.53e-06/1.231, allocations: 6.797 kB / 0.7819 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/1.3, allocations: 35.09 MB / 0.8161 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.3, allocations: 206.7 kB / 0.8163 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/4.425, allocations: 0 / 0.8163 GB, free: 140.1 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)