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.001086/0.001086, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.338/1.338, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001494/0.001494, allocations: 189 kB / 290.2 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 79.45 MB / 420.7 MB, free: 4.039 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 19.92 kB / 0.4891 GB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4107, allocations: 69.5 MB / 0.557 GB, free: 37.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005258/0.416, allocations: 5.335 MB / 0.5622 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.4201, allocations: 1.829 MB / 0.564 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.4212, allocations: 12.06 kB / 0.564 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.4218, allocations: 152.2 kB / 0.5641 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.4238, allocations: 0.6343 MB / 0.5647 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.4252, allocations: 0.5246 MB / 0.5652 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.4269, allocations: 0.8708 MB / 0.5661 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.4274, allocations: 242.3 kB / 0.5663 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000825/0.4282, allocations: 489.2 kB / 0.5668 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.429, allocations: 0.5964 MB / 0.5674 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.4291, allocations: 50.25 kB / 0.5674 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.4296, allocations: 164.4 kB / 0.5676 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.4298, allocations: 208.3 kB / 0.5678 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.43, allocations: 210 kB / 0.568 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.431, allocations: 1.019 MB / 0.569 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.431, allocations: 0.8438 kB / 0.569 GB, free: 36.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.431, allocations: 0 / 0.569 GB, free: 36.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.4311, allocations: 1.219 kB / 0.569 GB, free: 36.24 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.007316/0.4384, allocations: 2.287 MB / 0.5712 GB, free: 35.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4384, allocations: 11.31 kB / 0.5712 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/0.4388, allocations: 120.5 kB / 0.5713 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.4437, allocations: 0.7759 MB / 0.5721 GB, free: 35.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.4449, allocations: 0.7055 MB / 0.5728 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.4452, allocations: 266.2 kB / 0.573 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.4453, allocations: 78.97 kB / 0.5731 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.4474, allocations: 1.16 MB / 0.5742 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4475, allocations: 0 / 0.5742 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/0.4476, allocations: 29.62 kB / 0.5743 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4476, allocations: 20.89 kB / 0.5743 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.4496, allocations: 1.117 MB / 0.5754 GB, free: 33.76 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.005325/0.455, allocations: 3.683 MB / 0.579 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.4572, allocations: 1.551 MB / 0.5805 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.4573, allocations: 19.89 kB / 0.5805 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4573, allocations: 46.22 kB / 0.5806 GB, free: 30.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.4573, allocations: 0 / 0.5806 GB, free: 30.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02602/0.4833, allocations: 7.932 MB / 0.5883 GB, free: 29.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4834, allocations: 92.06 kB / 0.5884 GB, free: 29.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.4847, allocations: 0.8187 MB / 0.5892 GB, free: 28.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.4849, allocations: 40.92 kB / 0.5892 GB, free: 28.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.4852, allocations: 466.2 kB / 0.5897 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.4856, allocations: 324.7 kB / 0.59 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.4856, allocations: 21.22 kB / 0.59 GB, free: 28.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.4857, allocations: 348.3 kB / 0.5903 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.4874, allocations: 0.7662 MB / 0.5911 GB, free: 27.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.4891, allocations: 0.9014 MB / 0.592 GB, free: 27.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.4909, allocations: 0.8154 MB / 0.5928 GB, free: 26.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.491, allocations: 3.406 kB / 0.5928 GB, free: 26.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01512/0.5061, allocations: 5.117 MB / 0.5978 GB, free: 25.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.5063, allocations: 0.8897 MB / 0.5986 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5064, allocations: 2.312 kB / 0.5986 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007225/0.5136, allocations: 2.105 MB / 0.6007 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5147, allocations: 195.3 kB / 0.6009 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/0.5386, allocations: 10.02 MB / 0.6107 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.5403, allocations: 208.1 kB / 0.6109 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.5404, allocations: 38.41 kB / 0.6109 GB, free: 19.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5405, allocations: 13.36 kB / 0.6109 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/0.5545, allocations: 4.973 MB / 0.6158 GB, free: 16.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5546, allocations: 4 kB / 0.6158 GB, free: 16.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005975/0.5606, allocations: 2.109 MB / 0.6178 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.5615, allocations: 195.7 kB / 0.618 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.5809, allocations: 10 MB / 0.6278 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.5824, allocations: 187.1 kB / 0.628 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-05/0.5826, allocations: 39.98 kB / 0.628 GB, free: 3.664 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.0005432/0.5831, allocations: 300.9 kB / 0.6283 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.5833, allocations: 110.6 kB / 0.6284 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.5963, allocations: 4.833 MB / 0.6331 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.5963, allocations: 13.83 kB / 0.6331 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5964, allocations: 0 / 0.6331 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.5964, allocations: 3.984 kB / 0.6331 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.6127, allocations: 6.534 MB / 0.6395 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6127, allocations: 7.953 kB / 0.6395 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.6134, allocations: 115.8 kB / 0.6396 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006317/0.6198, allocations: 2.052 MB / 0.6416 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.62, allocations: 24.98 kB / 0.6416 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/0.6395, allocations: 8.658 MB / 0.6501 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6395, allocations: 4 kB / 0.6501 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.6558, allocations: 5.832 MB / 0.6558 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.6563, allocations: 191.6 kB / 0.656 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6565, allocations: 20 kB / 0.656 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6575, allocations: 135.9 kB / 0.6561 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005993/0.6581, allocations: 204.6 kB / 0.6563 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.6582, allocations: 20 kB / 0.6563 GB, free: 6.254 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000744/0.659, allocations: 0.551 MB / 0.6569 GB, free: 5.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 4e-07/0.659, allocations: 0 / 0.6569 GB, free: 5.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00206/0.661, allocations: 0.6788 MB / 0.6575 GB, free: 5.012 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.0166/0.6776, allocations: 6.559 MB / 0.664 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/0.6903, allocations: 4.623 MB / 0.6685 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.6903, allocations: 0 / 0.6685 GB, free: 9.766 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/0.6952, allocations: 1.743 MB / 0.6702 GB, free: 8.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.696, allocations: 76.73 kB / 0.6702 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/0.7017, allocations: 4.193 MB / 0.6743 GB, free: 3.676 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.7026, allocations: 1.101 MB / 0.6754 GB, free: 2.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.7031, allocations: 103.1 kB / 0.6755 GB, free: 2.445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.7037, allocations: 411.3 kB / 0.6759 GB, free: 2.043 MB / 478.1 MB Notification: Performance of SimCode: time 1.864e-06/0.7037, allocations: 0 / 0.6759 GB, free: 2.043 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06295/0.7667, allocations: 35.58 MB / 0.7107 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.7669, allocations: 205.4 kB / 0.7108 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.421, allocations: 7.875 kB / 0.7109 GB, free: 14.58 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: