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.001022/0.001022, allocations: 99.55 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.393/1.393, allocations: 223.2 MB / 238.9 MB, free: 5.402 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.001414/0.001414, allocations: 189 kB / 290.2 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5051/0.5051, allocations: 79.45 MB / 420.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 15.94 kB / 0.4891 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.41, allocations: 69.51 MB / 0.557 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004612/0.4147, allocations: 5.366 MB / 0.5622 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0033/0.418, allocations: 1.854 MB / 0.564 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.4186, allocations: 14.09 kB / 0.564 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.4191, allocations: 155 kB / 0.5642 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.4206, allocations: 0.6326 MB / 0.5648 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.4218, allocations: 0.5403 MB / 0.5653 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.423, allocations: 0.8777 MB / 0.5662 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.4233, allocations: 244.1 kB / 0.5664 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.4239, allocations: 487 kB / 0.5669 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.4245, allocations: 0.5917 MB / 0.5675 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4246, allocations: 50.91 kB / 0.5675 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.425, allocations: 168.3 kB / 0.5677 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.4252, allocations: 204 kB / 0.5679 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.4253, allocations: 207 kB / 0.5681 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.4262, allocations: 1.023 MB / 0.5691 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.4262, allocations: 0 / 0.5691 GB, free: 36.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4262, allocations: 0 / 0.5691 GB, free: 36.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4262, allocations: 0 / 0.5691 GB, free: 36.05 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.007062/0.4333, allocations: 2.288 MB / 0.5713 GB, free: 35.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.4333, allocations: 13 kB / 0.5713 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002874/0.4336, allocations: 120.9 kB / 0.5714 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.4385, allocations: 0.7797 MB / 0.5722 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4398, allocations: 0.7011 MB / 0.5729 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4401, allocations: 263.3 kB / 0.5731 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4402, allocations: 73 kB / 0.5732 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.4423, allocations: 1.164 MB / 0.5743 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4423, allocations: 3.438 kB / 0.5743 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.4424, allocations: 30.72 kB / 0.5743 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.4424, allocations: 21.33 kB / 0.5744 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.4444, allocations: 1.114 MB / 0.5755 GB, free: 33.6 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.005472/0.4499, allocations: 3.67 MB / 0.579 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.452, allocations: 1.53 MB / 0.5805 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.4521, allocations: 19.33 kB / 0.5806 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4521, allocations: 43.03 kB / 0.5806 GB, free: 30.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.4521, allocations: 0 / 0.5806 GB, free: 30.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02776/0.4799, allocations: 8.493 MB / 0.5889 GB, free: 29.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.48, allocations: 88.48 kB / 0.589 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4812, allocations: 0.8247 MB / 0.5898 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.4815, allocations: 41.98 kB / 0.5898 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.4819, allocations: 458.1 kB / 0.5903 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.4822, allocations: 324.9 kB / 0.5906 GB, free: 27.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.4824, allocations: 20.31 kB / 0.5906 GB, free: 27.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.4825, allocations: 353.2 kB / 0.5909 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.4841, allocations: 0.7764 MB / 0.5917 GB, free: 27.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.4857, allocations: 0.9098 MB / 0.5926 GB, free: 26.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.4874, allocations: 0.8259 MB / 0.5934 GB, free: 26.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4874, allocations: 1.344 kB / 0.5934 GB, free: 26.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01512/0.5025, allocations: 5.11 MB / 0.5984 GB, free: 25.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.5027, allocations: 0.8796 MB / 0.5992 GB, free: 24.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5028, allocations: 2.656 kB / 0.5992 GB, free: 24.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006975/0.5097, allocations: 2.107 MB / 0.6013 GB, free: 24.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.5109, allocations: 201.5 kB / 0.6015 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/0.5349, allocations: 9.996 MB / 0.6112 GB, free: 19.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.5368, allocations: 209.1 kB / 0.6114 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5369, allocations: 39.3 kB / 0.6115 GB, free: 19.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5369, allocations: 3.781 kB / 0.6115 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/0.5504, allocations: 4.967 MB / 0.6163 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5504, allocations: 0 / 0.6163 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.5564, allocations: 2.105 MB / 0.6184 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5575, allocations: 195.7 kB / 0.6186 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.5767, allocations: 9.988 MB / 0.6283 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.5783, allocations: 196.6 kB / 0.6285 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.5783, allocations: 39.98 kB / 0.6286 GB, free: 3.059 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 (110): * Single equations (assignments): 109 * 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.0005558/0.5789, allocations: 305.4 kB / 0.6288 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.5791, allocations: 107.2 kB / 0.6289 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.592, allocations: 4.818 MB / 0.6337 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.5921, allocations: 19.94 kB / 0.6337 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5921, allocations: 0 / 0.6337 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.5921, allocations: 8.578 kB / 0.6337 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.6091, allocations: 6.458 MB / 0.64 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.6092, allocations: 3.984 kB / 0.64 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.61, allocations: 115.8 kB / 0.6401 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/0.6165, allocations: 2.054 MB / 0.6421 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/0.6167, allocations: 27.98 kB / 0.6421 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.6365, allocations: 8.623 MB / 0.6506 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6366, allocations: 0 / 0.6506 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.6533, allocations: 5.875 MB / 0.6563 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/0.6541, allocations: 203.4 kB / 0.6565 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.6543, allocations: 23.95 kB / 0.6565 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6554, allocations: 135.9 kB / 0.6566 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007925/0.6562, allocations: 204.6 kB / 0.6568 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.6563, allocations: 21.72 kB / 0.6569 GB, free: 5.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009018/0.6572, allocations: 0.5471 MB / 0.6574 GB, free: 5.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6572, allocations: 0 / 0.6574 GB, free: 5.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003067/0.6603, allocations: 0.6827 MB / 0.6581 GB, free: 4.473 MB / 462.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 (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.01743/0.6778, allocations: 6.586 MB / 0.6645 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01333/0.6911, allocations: 4.648 MB / 0.669 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.6912, allocations: 0 / 0.669 GB, free: 9.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004992/0.6962, allocations: 1.743 MB / 0.6707 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.6971, allocations: 75.42 kB / 0.6708 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.7029, allocations: 4.274 MB / 0.675 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.7037, allocations: 1.097 MB / 0.676 GB, free: 1.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004853/0.7042, allocations: 101.9 kB / 0.6761 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/0.7048, allocations: 399.3 kB / 0.6765 GB, free: 1.395 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7048, allocations: 0 / 0.6765 GB, free: 1.395 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06919/0.774, allocations: 35.58 MB / 0.7113 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.7742, allocations: 199.6 kB / 0.7115 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.484, allocations: 3.938 kB / 0.7115 GB, free: 13.94 MB / 0.5137 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/linux/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) Environment - environmentSimulation: