Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 179 kB / 15.45 MB, free: 6.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.4 MB, free: 1.617 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007884/0.0007883, allocations: 99.84 kB / 290.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5132/0.5132, allocations: 78.62 MB / 420.4 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 8 kB / 0.4889 GB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4375, allocations: 69.35 MB / 0.5566 GB, free: 39.1 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005262/0.4429, allocations: 5.963 MB / 0.5624 GB, free: 36.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.4467, allocations: 1.887 MB / 0.5643 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009915/0.4477, allocations: 16.03 kB / 0.5643 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.4483, allocations: 159.5 kB / 0.5644 GB, free: 35.72 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.45, allocations: 0.6105 MB / 0.565 GB, free: 35.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4515, allocations: 0.5826 MB / 0.5656 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.4533, allocations: 1.288 MB / 0.5669 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.4537, allocations: 261.8 kB / 0.5671 GB, free: 34.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006382/0.4544, allocations: 499.5 kB / 0.5676 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.455, allocations: 0.6264 MB / 0.5682 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.4552, allocations: 55.06 kB / 0.5682 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.4557, allocations: 180.2 kB / 0.5684 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.4558, allocations: 212.7 kB / 0.5686 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.4562, allocations: 0.5575 MB / 0.5692 GB, free: 33.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.4572, allocations: 1.37 MB / 0.5705 GB, free: 33.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.4572, allocations: 0 / 0.5705 GB, free: 33.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4573, allocations: 0 / 0.5705 GB, free: 33.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4573, allocations: 3.938 kB / 0.5705 GB, free: 33.14 MB / 426.7 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.00641/0.4637, allocations: 2.288 MB / 0.5727 GB, free: 32.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4637, allocations: 8.75 kB / 0.5727 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.4639, allocations: 119 kB / 0.5729 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/0.4684, allocations: 0.7733 MB / 0.5736 GB, free: 31.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/0.4694, allocations: 0.7384 MB / 0.5743 GB, free: 31.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.4696, allocations: 267.8 kB / 0.5746 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4698, allocations: 74.12 kB / 0.5747 GB, free: 31.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.4717, allocations: 1.176 MB / 0.5758 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4718, allocations: 0 / 0.5758 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/0.4719, allocations: 29.41 kB / 0.5758 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4719, allocations: 18 kB / 0.5759 GB, free: 30.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.474, allocations: 1.118 MB / 0.5769 GB, free: 30.36 MB / 426.7 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.00533/0.4793, allocations: 3.586 MB / 0.5805 GB, free: 28.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4814, allocations: 1.557 MB / 0.582 GB, free: 27.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.4828, allocations: 0.8203 MB / 0.5828 GB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4829, allocations: 12.41 kB / 0.5828 GB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4829, allocations: 42.38 kB / 0.5828 GB, free: 27.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.166e-06/0.4829, allocations: 3.938 kB / 0.5828 GB, free: 27.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02336/0.5063, allocations: 7.986 MB / 0.5906 GB, free: 25.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5064, allocations: 91.7 kB / 0.5907 GB, free: 25.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5076, allocations: 0.8275 MB / 0.5915 GB, free: 25.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.5077, allocations: 41.36 kB / 0.5916 GB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.508, allocations: 449.9 kB / 0.592 GB, free: 24.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.5083, allocations: 328.7 kB / 0.5923 GB, free: 24.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.5084, allocations: 99.42 kB / 0.5924 GB, free: 24.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.5085, allocations: 348.8 kB / 0.5927 GB, free: 24.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.5101, allocations: 0.7756 MB / 0.5935 GB, free: 23.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.5117, allocations: 0.9046 MB / 0.5944 GB, free: 23.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.5148, allocations: 1.663 MB / 0.596 GB, free: 22.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5148, allocations: 0 / 0.596 GB, free: 22.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01421/0.529, allocations: 5.14 MB / 0.601 GB, free: 21.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.5292, allocations: 164.4 kB / 0.6012 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5292, allocations: 2.25 kB / 0.6012 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/0.5363, allocations: 2.097 MB / 0.6032 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5375, allocations: 197.4 kB / 0.6034 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.5593, allocations: 9.58 MB / 0.6128 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.561, allocations: 204.4 kB / 0.613 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.5611, allocations: 39.66 kB / 0.613 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5611, allocations: 4 kB / 0.613 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/0.5739, allocations: 4.994 MB / 0.6179 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.574, allocations: 4 kB / 0.6179 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.5798, allocations: 2.1 MB / 0.6199 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5809, allocations: 183.7 kB / 0.6201 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/0.5998, allocations: 9.569 MB / 0.6295 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.6014, allocations: 202.9 kB / 0.6296 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6015, allocations: 43.92 kB / 0.6297 GB, free: 14.62 MB / 442.7 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.000654/0.6022, allocations: 297.6 kB / 0.63 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.6025, allocations: 106.7 kB / 0.6301 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.6159, allocations: 4.84 MB / 0.6348 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.6159, allocations: 8 kB / 0.6348 GB, free: 9.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.616, allocations: 3.938 kB / 0.6348 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.616, allocations: 3.984 kB / 0.6348 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.6323, allocations: 6.54 MB / 0.6412 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.6323, allocations: 3.938 kB / 0.6412 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.6331, allocations: 119.8 kB / 0.6413 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006077/0.6392, allocations: 2.05 MB / 0.6433 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.6394, allocations: 20 kB / 0.6433 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.6574, allocations: 8.222 MB / 0.6514 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6575, allocations: 3.938 kB / 0.6514 GB, free: 8.094 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.6734, allocations: 5.825 MB / 0.6571 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.674, allocations: 199.6 kB / 0.6573 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.6742, allocations: 20 kB / 0.6573 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6752, allocations: 143.8 kB / 0.6574 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006607/0.6759, allocations: 196.6 kB / 0.6576 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.676, allocations: 20 kB / 0.6576 GB, free: 1.652 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007952/0.6768, allocations: 0.5589 MB / 0.6582 GB, free: 1.082 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6768, allocations: 0 / 0.6582 GB, free: 1.082 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00218/0.679, allocations: 0.6827 MB / 0.6588 GB, free: 408 kB / 458.7 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.01614/0.6951, allocations: 6.389 MB / 0.6651 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/0.7071, allocations: 4.646 MB / 0.6696 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.7072, allocations: 0 / 0.6696 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004673/0.7119, allocations: 1.745 MB / 0.6713 GB, free: 3.539 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.7129, allocations: 87.42 kB / 0.6714 GB, free: 3.453 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/0.7529, allocations: 17.79 MB / 0.6888 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.7536, allocations: 1.077 MB / 0.6898 GB, free: 188 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005696/0.7542, allocations: 106.7 kB / 0.6899 GB, free: 76 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.7547, allocations: 407.4 kB / 0.6903 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.7547, allocations: 4 kB / 0.6903 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.8181, allocations: 36.66 MB / 0.7261 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.8184, allocations: 233.7 kB / 0.7263 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/4.004, allocations: 0 / 0.7263 GB, free: 10.95 MB / 0.5261 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)