Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 239.4 MB, free: 5.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 183.4 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5751/0.5751, allocations: 91.92 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004472, allocations: 8 kB / 0.5049 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5047, allocations: 72.45 MB / 0.5756 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005075/0.5098, allocations: 5.994 MB / 0.5815 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004219/0.5141, allocations: 1.899 MB / 0.5833 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008862/0.515, allocations: 11.16 kB / 0.5834 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.5155, allocations: 163 kB / 0.5835 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5173, allocations: 0.6045 MB / 0.5841 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.5187, allocations: 0.5915 MB / 0.5847 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.52, allocations: 1.278 MB / 0.5859 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.5205, allocations: 248.8 kB / 0.5862 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.5211, allocations: 0.4983 MB / 0.5866 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.5218, allocations: 0.6212 MB / 0.5873 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.5219, allocations: 53.12 kB / 0.5873 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.5224, allocations: 186.3 kB / 0.5875 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.5226, allocations: 215.1 kB / 0.5877 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.523, allocations: 0.5523 MB / 0.5882 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.5243, allocations: 1.369 MB / 0.5896 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5243, allocations: 0 / 0.5896 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5243, allocations: 0 / 0.5896 GB, free: 28.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5243, allocations: 4 kB / 0.5896 GB, free: 28.14 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007928/0.5323, allocations: 2.283 MB / 0.5918 GB, free: 27.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.5323, allocations: 9.219 kB / 0.5918 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003442/0.5327, allocations: 118.1 kB / 0.5919 GB, free: 27.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.5379, allocations: 0.778 MB / 0.5927 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.5393, allocations: 0.7428 MB / 0.5934 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.5397, allocations: 263.9 kB / 0.5937 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.5399, allocations: 76.38 kB / 0.5937 GB, free: 26.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.5426, allocations: 1.168 MB / 0.5949 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5426, allocations: 0 / 0.5949 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.5427, allocations: 31.09 kB / 0.5949 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.5427, allocations: 16.66 kB / 0.5949 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.5454, allocations: 1.121 MB / 0.596 GB, free: 25.36 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.5528, allocations: 3.588 MB / 0.5995 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.5561, allocations: 1.553 MB / 0.601 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.5583, allocations: 0.8247 MB / 0.6018 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.5584, allocations: 9.938 kB / 0.6018 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.5585, allocations: 45.73 kB / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 5.461e-06/0.5585, allocations: 0 / 0.6019 GB, free: 22.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03226/0.5907, allocations: 7.991 MB / 0.6097 GB, free: 20.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.5909, allocations: 91.77 kB / 0.6098 GB, free: 20.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.5924, allocations: 0.8236 MB / 0.6106 GB, free: 20.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.5927, allocations: 42.36 kB / 0.6106 GB, free: 20.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.5931, allocations: 453.7 kB / 0.6111 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.5935, allocations: 326.7 kB / 0.6114 GB, free: 19.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.5937, allocations: 102.8 kB / 0.6115 GB, free: 19.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5938, allocations: 345.9 kB / 0.6118 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.5957, allocations: 0.7753 MB / 0.6126 GB, free: 18.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.5978, allocations: 0.9188 MB / 0.6135 GB, free: 18.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003787/0.6016, allocations: 1.658 MB / 0.6151 GB, free: 17.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6016, allocations: 0 / 0.6151 GB, free: 17.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01727/0.6189, allocations: 5.147 MB / 0.6201 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.6191, allocations: 163.7 kB / 0.6203 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6191, allocations: 4 kB / 0.6203 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00664/0.6258, allocations: 2.1 MB / 0.6223 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6269, allocations: 195.7 kB / 0.6225 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.6474, allocations: 9.572 MB / 0.6318 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.6492, allocations: 199 kB / 0.632 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/0.6493, allocations: 43.92 kB / 0.6321 GB, free: 3.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6493, allocations: 5.875 kB / 0.6321 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01451/0.6639, allocations: 4.991 MB / 0.637 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.6639, allocations: 4 kB / 0.637 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007206/0.6711, allocations: 2.108 MB / 0.639 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6724, allocations: 187.7 kB / 0.6392 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0246/0.6971, allocations: 9.547 MB / 0.6485 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.699, allocations: 199 kB / 0.6487 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.6994, allocations: 47.86 kB / 0.6488 GB, free: 1.832 MB / 446.1 MB 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.7004, allocations: 300.9 kB / 0.649 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/0.7009, allocations: 106.7 kB / 0.6491 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.7162, allocations: 4.837 MB / 0.6539 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.7163, allocations: 8 kB / 0.6539 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7163, allocations: 0 / 0.6539 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.258e-05/0.7163, allocations: 3.984 kB / 0.6539 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.7355, allocations: 6.54 MB / 0.6603 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.7356, allocations: 3.938 kB / 0.6603 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.7364, allocations: 115.9 kB / 0.6604 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006968/0.7434, allocations: 2.053 MB / 0.6624 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/0.7437, allocations: 23.98 kB / 0.6624 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/0.7648, allocations: 8.226 MB / 0.6704 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.7649, allocations: 0 / 0.6704 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.7831, allocations: 5.821 MB / 0.6761 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.7837, allocations: 195.6 kB / 0.6763 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005159/0.7842, allocations: 16 kB / 0.6763 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.7858, allocations: 143.8 kB / 0.6765 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008205/0.7866, allocations: 204.5 kB / 0.6767 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.7868, allocations: 20 kB / 0.6767 GB, free: 4.871 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.7878, allocations: 0.5628 MB / 0.6772 GB, free: 4.297 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.7878, allocations: 0 / 0.6772 GB, free: 4.297 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002988/0.7908, allocations: 0.6865 MB / 0.6779 GB, free: 3.609 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01809/0.8089, allocations: 6.393 MB / 0.6841 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/0.824, allocations: 4.64 MB / 0.6887 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.824, allocations: 4 kB / 0.6887 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006008/0.8301, allocations: 1.752 MB / 0.6904 GB, free: 6.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.8323, allocations: 84.94 kB / 0.6905 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05392/0.8863, allocations: 17.8 MB / 0.7078 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.8877, allocations: 1.081 MB / 0.7089 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008784/0.8886, allocations: 106.7 kB / 0.709 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/0.8894, allocations: 407.2 kB / 0.7094 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.265e-06/0.8895, allocations: 0 / 0.7094 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.9659, allocations: 36.65 MB / 0.7452 GB, free: 14.43 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.9662, allocations: 226.9 kB / 0.7454 GB, free: 14.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.923/3.889, allocations: 3.938 kB / 0.7454 GB, free: 14.16 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)