Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0008841/0.0008842, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.509/1.509, allocations: 223.3 MB / 239.4 MB, free: 5.457 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.001268/0.001269, allocations: 192.5 kB / 290.6 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5531/0.5531, allocations: 91.92 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004384, allocations: 8 kB / 0.5049 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4336, allocations: 72.47 MB / 0.5756 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.00517/0.4388, allocations: 6.04 MB / 0.5815 GB, free: 32.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.4429, allocations: 1.914 MB / 0.5834 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/0.4437, allocations: 11.75 kB / 0.5834 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.4442, allocations: 163.5 kB / 0.5836 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.4458, allocations: 0.6101 MB / 0.5842 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4471, allocations: 0.6002 MB / 0.5848 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.4484, allocations: 1.29 MB / 0.586 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.4488, allocations: 251.3 kB / 0.5863 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.4495, allocations: 0.4995 MB / 0.5867 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.45, allocations: 0.6223 MB / 0.5873 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4502, allocations: 52.47 kB / 0.5874 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.4506, allocations: 186.3 kB / 0.5876 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.4508, allocations: 214 kB / 0.5878 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.4511, allocations: 0.5592 MB / 0.5883 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4522, allocations: 1.361 MB / 0.5897 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4522, allocations: 3.125 kB / 0.5897 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4522, allocations: 0 / 0.5897 GB, free: 28.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4523, allocations: 0 / 0.5897 GB, free: 28.22 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007542/0.4598, allocations: 2.272 MB / 0.5919 GB, free: 27.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.4599, allocations: 9.562 kB / 0.5919 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003408/0.4602, allocations: 123.4 kB / 0.592 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.4655, allocations: 0.7724 MB / 0.5928 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.4668, allocations: 0.7406 MB / 0.5935 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.4671, allocations: 265.6 kB / 0.5937 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.4673, allocations: 77.88 kB / 0.5938 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.4699, allocations: 1.174 MB / 0.595 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.47, allocations: 1.25 kB / 0.595 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.4701, allocations: 25.03 kB / 0.595 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.4701, allocations: 17.22 kB / 0.595 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.4727, allocations: 1.127 MB / 0.5961 GB, free: 25.45 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.007109/0.4798, allocations: 3.57 MB / 0.5996 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.4826, allocations: 1.542 MB / 0.6011 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.4843, allocations: 0.8171 MB / 0.6019 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.4845, allocations: 20.34 kB / 0.6019 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4845, allocations: 39.91 kB / 0.6019 GB, free: 22.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.916e-06/0.4845, allocations: 0 / 0.6019 GB, free: 22.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03301/0.5175, allocations: 8.551 MB / 0.6103 GB, free: 20.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.5176, allocations: 87.77 kB / 0.6104 GB, free: 20.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.5196, allocations: 0.8256 MB / 0.6112 GB, free: 20.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/0.5199, allocations: 41.77 kB / 0.6112 GB, free: 20.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/0.5204, allocations: 450.9 kB / 0.6117 GB, free: 19.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005873/0.521, allocations: 323.9 kB / 0.612 GB, free: 19.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.5214, allocations: 104.2 kB / 0.6121 GB, free: 19.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5216, allocations: 349.6 kB / 0.6124 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.5237, allocations: 0.7814 MB / 0.6132 GB, free: 18.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.5259, allocations: 0.9166 MB / 0.6141 GB, free: 18.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.5298, allocations: 1.675 MB / 0.6157 GB, free: 17.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.5299, allocations: 6 kB / 0.6157 GB, free: 17.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01615/0.546, allocations: 5.15 MB / 0.6207 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5462, allocations: 164.4 kB / 0.6209 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5462, allocations: 4 kB / 0.6209 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006487/0.5527, allocations: 2.096 MB / 0.6229 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.5538, allocations: 203.7 kB / 0.6231 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.5742, allocations: 9.569 MB / 0.6325 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.576, allocations: 211 kB / 0.6327 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.5761, allocations: 35.98 kB / 0.6327 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5761, allocations: 4 kB / 0.6327 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.5905, allocations: 5.003 MB / 0.6376 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.5905, allocations: 7.938 kB / 0.6376 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/0.5975, allocations: 2.1 MB / 0.6397 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5986, allocations: 195.8 kB / 0.6398 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/0.6209, allocations: 9.532 MB / 0.6492 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.6227, allocations: 191.1 kB / 0.6493 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.6228, allocations: 39.98 kB / 0.6494 GB, free: 1.328 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 (110): * Single equations (assignments): 109 * 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.0006454/0.6234, allocations: 304.9 kB / 0.6497 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.6237, allocations: 106.7 kB / 0.6498 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.6384, allocations: 4.829 MB / 0.6545 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.6385, allocations: 8 kB / 0.6545 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6385, allocations: 4 kB / 0.6545 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/0.6385, allocations: 11.92 kB / 0.6545 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.6564, allocations: 6.47 MB / 0.6608 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.6565, allocations: 0 / 0.6608 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.6572, allocations: 111.8 kB / 0.6609 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006688/0.6639, allocations: 2.057 MB / 0.6629 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.6641, allocations: 19.94 kB / 0.663 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.6835, allocations: 8.215 MB / 0.671 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6836, allocations: 0 / 0.671 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.7013, allocations: 5.86 MB / 0.6767 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.7019, allocations: 195.5 kB / 0.6769 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.7021, allocations: 24 kB / 0.6769 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7032, allocations: 131.9 kB / 0.677 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007071/0.7039, allocations: 212.4 kB / 0.6772 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/0.704, allocations: 20 kB / 0.6773 GB, free: 4.418 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007537/0.7048, allocations: 0.5511 MB / 0.6778 GB, free: 3.855 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7048, allocations: 0 / 0.6778 GB, free: 3.855 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002058/0.7068, allocations: 0.6866 MB / 0.6785 GB, free: 3.168 MB / 478.1 MB 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 (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.01731/0.7241, allocations: 6.44 MB / 0.6848 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01363/0.7378, allocations: 4.655 MB / 0.6893 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.7379, allocations: 0.5625 kB / 0.6893 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00565/0.7435, allocations: 1.755 MB / 0.691 GB, free: 6.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.7451, allocations: 83.44 kB / 0.6911 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04694/0.7921, allocations: 17.88 MB / 0.7086 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.793, allocations: 1.085 MB / 0.7096 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006759/0.7937, allocations: 102.7 kB / 0.7097 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.7944, allocations: 399.3 kB / 0.7101 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.7944, allocations: 0 / 0.7101 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07036/0.8648, allocations: 36.6 MB / 0.7458 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.865, allocations: 225.4 kB / 0.746 GB, free: 13.63 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/3.857, allocations: 0 / 0.746 GB, free: 13.63 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)