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.0008805/0.0008805, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 5.5 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.00125/0.00125, allocations: 180.5 kB / 290.3 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4518/0.4518, allocations: 79.47 MB / 420.8 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 12 kB / 0.4892 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 69.5 MB / 0.5571 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.00493/0.3621, allocations: 5.62 MB / 0.5626 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.3655, allocations: 1.801 MB / 0.5643 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.3661, allocations: 15.03 kB / 0.5643 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.3665, allocations: 142.2 kB / 0.5645 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.3678, allocations: 0.5821 MB / 0.565 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3689, allocations: 0.5289 MB / 0.5656 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.3699, allocations: 1.213 MB / 0.5667 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.3703, allocations: 243.1 kB / 0.567 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.3708, allocations: 497.7 kB / 0.5675 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.3713, allocations: 0.6027 MB / 0.568 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.3714, allocations: 49.81 kB / 0.5681 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.3718, allocations: 178 kB / 0.5683 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.372, allocations: 211.1 kB / 0.5685 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.3722, allocations: 208.1 kB / 0.5687 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.373, allocations: 1.07 MB / 0.5697 GB, free: 35.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.373, allocations: 0 / 0.5697 GB, free: 35.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3731, allocations: 2.656 kB / 0.5697 GB, free: 35.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3731, allocations: 0 / 0.5697 GB, free: 35.48 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.00602/0.3791, allocations: 2.289 MB / 0.5719 GB, free: 34.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3791, allocations: 10.78 kB / 0.572 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.3793, allocations: 118.1 kB / 0.5721 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.3836, allocations: 0.7763 MB / 0.5728 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3847, allocations: 0.7065 MB / 0.5735 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3849, allocations: 265.9 kB / 0.5738 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.3851, allocations: 73.97 kB / 0.5738 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.387, allocations: 1.166 MB / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.387, allocations: 0 / 0.575 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.3871, allocations: 29.28 kB / 0.575 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.3871, allocations: 21.77 kB / 0.575 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.389, allocations: 1.111 MB / 0.5761 GB, free: 33.19 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.004896/0.3939, allocations: 3.58 MB / 0.5796 GB, free: 31.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3959, allocations: 1.549 MB / 0.5811 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3972, allocations: 0.8214 MB / 0.5819 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3973, allocations: 18.72 kB / 0.5819 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3973, allocations: 46.08 kB / 0.582 GB, free: 29.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.387e-06/0.3973, allocations: 7.094 kB / 0.582 GB, free: 29.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02242/0.4198, allocations: 7.938 MB / 0.5897 GB, free: 28.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4199, allocations: 91.14 kB / 0.5898 GB, free: 28.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.421, allocations: 0.8174 MB / 0.5906 GB, free: 27.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4212, allocations: 44.98 kB / 0.5907 GB, free: 27.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.4215, allocations: 454.5 kB / 0.5911 GB, free: 27.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.4218, allocations: 321.1 kB / 0.5914 GB, free: 27.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.4219, allocations: 24.22 kB / 0.5914 GB, free: 27.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.422, allocations: 353.5 kB / 0.5918 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.4236, allocations: 0.7633 MB / 0.5925 GB, free: 26.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.4252, allocations: 0.9029 MB / 0.5934 GB, free: 26.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.4269, allocations: 0.8273 MB / 0.5942 GB, free: 26.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.4269, allocations: 0.8438 kB / 0.5942 GB, free: 26.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01384/0.4407, allocations: 5.116 MB / 0.5992 GB, free: 24.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.4409, allocations: 156.2 kB / 0.5994 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4409, allocations: 10.23 kB / 0.5994 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/0.4474, allocations: 2.109 MB / 0.6014 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4485, allocations: 202.6 kB / 0.6016 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.4703, allocations: 9.562 MB / 0.611 GB, free: 20.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4721, allocations: 205.1 kB / 0.6112 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.4723, allocations: 37.89 kB / 0.6112 GB, free: 20.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4724, allocations: 8.062 kB / 0.6112 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/0.4852, allocations: 4.972 MB / 0.6161 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4853, allocations: 6.062 kB / 0.6161 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/0.4907, allocations: 2.11 MB / 0.6181 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.4916, allocations: 195.7 kB / 0.6183 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/0.5096, allocations: 9.536 MB / 0.6276 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5112, allocations: 196.8 kB / 0.6278 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.5115, allocations: 37.67 kB / 0.6278 GB, free: 3.973 MB / 430.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 (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.0006863/0.5122, allocations: 312.9 kB / 0.6281 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.5125, allocations: 106.7 kB / 0.6282 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.5241, allocations: 4.826 MB / 0.633 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.5241, allocations: 8 kB / 0.633 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5242, allocations: 0 / 0.633 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.5242, allocations: 8.547 kB / 0.633 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.5397, allocations: 6.536 MB / 0.6394 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5398, allocations: 0 / 0.6394 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.5404, allocations: 111.9 kB / 0.6395 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005832/0.5463, allocations: 2.057 MB / 0.6415 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.5465, allocations: 16 kB / 0.6415 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.5643, allocations: 8.219 MB / 0.6495 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5644, allocations: 4.922 kB / 0.6495 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.5787, allocations: 5.81 MB / 0.6552 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.5792, allocations: 191.6 kB / 0.6554 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.5796, allocations: 16 kB / 0.6554 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5807, allocations: 141.9 kB / 0.6555 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/0.5814, allocations: 208.5 kB / 0.6557 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5816, allocations: 20.5 kB / 0.6557 GB, free: 7.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008431/0.5824, allocations: 0.551 MB / 0.6563 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5824, allocations: 0 / 0.6563 GB, free: 6.477 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002618/0.5851, allocations: 0.6866 MB / 0.6569 GB, free: 5.789 MB / 462.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 (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.01442/0.5995, allocations: 6.39 MB / 0.6632 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01188/0.6114, allocations: 4.628 MB / 0.6677 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6115, allocations: 0 / 0.6677 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004514/0.616, allocations: 1.739 MB / 0.6694 GB, free: 8.969 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.6173, allocations: 91.42 kB / 0.6695 GB, free: 8.875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.6418, allocations: 11.15 MB / 0.6804 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/0.6426, allocations: 1.074 MB / 0.6814 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006422/0.6433, allocations: 102.8 kB / 0.6815 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/0.6439, allocations: 411.3 kB / 0.6819 GB, free: 11.85 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6439, allocations: 0 / 0.6819 GB, free: 11.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7677/1.412, allocations: 36.26 MB / 0.7173 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.412, allocations: 211.2 kB / 0.7175 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/4.069, allocations: 4 kB / 0.7175 GB, free: 7.723 MB / 0.5137 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/linux/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) Environment - environmentSimulation: