Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_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.0009404/0.0009404, allocations: 99.62 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.295/1.295, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001035/0.001035, allocations: 181 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4329/0.4329, allocations: 78.51 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 16 kB / 499.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 69.35 MB / 0.5558 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2189/0.3374, allocations: 5.311 MB / 0.5609 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.3405, allocations: 1.828 MB / 0.5627 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.3411, allocations: 14.78 kB / 0.5627 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.3415, allocations: 145.4 kB / 0.5629 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.343, allocations: 0.641 MB / 0.5635 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3442, allocations: 0.5276 MB / 0.564 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3454, allocations: 0.8682 MB / 0.5649 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.3457, allocations: 235.3 kB / 0.5651 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.3462, allocations: 491.1 kB / 0.5656 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.3468, allocations: 0.5886 MB / 0.5661 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3469, allocations: 51.53 kB / 0.5662 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.3473, allocations: 168.3 kB / 0.5664 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.3474, allocations: 200.8 kB / 0.5665 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3476, allocations: 216.6 kB / 0.5668 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008695/0.3485, allocations: 1.015 MB / 0.5677 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.3485, allocations: 4.281 kB / 0.5677 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3485, allocations: 0 / 0.5677 GB, free: 36.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.3485, allocations: 0 / 0.5677 GB, free: 36.11 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.007067/0.3556, allocations: 2.297 MB / 0.57 GB, free: 35.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3556, allocations: 10.97 kB / 0.57 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.3558, allocations: 122 kB / 0.5701 GB, free: 35.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.3607, allocations: 0.7742 MB / 0.5709 GB, free: 35.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.3616, allocations: 0.7036 MB / 0.5716 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.3619, allocations: 266.5 kB / 0.5718 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.362, allocations: 78.47 kB / 0.5719 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.364, allocations: 1.158 MB / 0.573 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.364, allocations: 5.922 kB / 0.573 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.3641, allocations: 26.91 kB / 0.5731 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3641, allocations: 21.45 kB / 0.5731 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.3662, allocations: 1.112 MB / 0.5742 GB, free: 34.53 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.005061/0.3713, allocations: 3.686 MB / 0.5778 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.3735, allocations: 1.552 MB / 0.5793 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.3736, allocations: 22.09 kB / 0.5793 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.3736, allocations: 38.38 kB / 0.5793 GB, free: 31.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.344e-06/0.3736, allocations: 0 / 0.5793 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02531/0.3989, allocations: 7.935 MB / 0.5871 GB, free: 30.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.399, allocations: 91.62 kB / 0.5872 GB, free: 29.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.4002, allocations: 0.8191 MB / 0.588 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.4004, allocations: 40.8 kB / 0.588 GB, free: 29.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4007, allocations: 460 kB / 0.5884 GB, free: 29.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.401, allocations: 326.4 kB / 0.5888 GB, free: 28.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/0.4011, allocations: 20.19 kB / 0.5888 GB, free: 28.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.4012, allocations: 349.7 kB / 0.5891 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4028, allocations: 0.7612 MB / 0.5899 GB, free: 28.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4044, allocations: 0.9044 MB / 0.5907 GB, free: 27.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.4061, allocations: 0.8177 MB / 0.5915 GB, free: 27.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4061, allocations: 1.219 kB / 0.5915 GB, free: 27.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01534/0.4215, allocations: 5.119 MB / 0.5965 GB, free: 26.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.4217, allocations: 0.8799 MB / 0.5974 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4217, allocations: 6.281 kB / 0.5974 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/0.4289, allocations: 2.108 MB / 0.5995 GB, free: 25.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.43, allocations: 198.6 kB / 0.5996 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.4524, allocations: 10.02 MB / 0.6094 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.454, allocations: 208.5 kB / 0.6096 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.4541, allocations: 43.95 kB / 0.6097 GB, free: 20.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4542, allocations: 4.094 kB / 0.6097 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01396/0.4681, allocations: 4.969 MB / 0.6145 GB, free: 17.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.4682, allocations: 7.953 kB / 0.6145 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.4743, allocations: 2.111 MB / 0.6166 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.4752, allocations: 194.2 kB / 0.6168 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.4947, allocations: 10 MB / 0.6266 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4962, allocations: 195 kB / 0.6267 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.4963, allocations: 39.98 kB / 0.6268 GB, free: 4.879 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.0004683/0.4968, allocations: 297 kB / 0.6271 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.4969, allocations: 110.6 kB / 0.6272 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5093, allocations: 4.822 MB / 0.6319 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.5094, allocations: 15.95 kB / 0.6319 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5094, allocations: 0.5156 kB / 0.6319 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.5094, allocations: 8.734 kB / 0.6319 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.5251, allocations: 6.532 MB / 0.6383 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5252, allocations: 1.078 kB / 0.6383 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.5259, allocations: 115.8 kB / 0.6384 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006218/0.5321, allocations: 2.061 MB / 0.6404 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.5322, allocations: 17.06 kB / 0.6404 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/0.5572, allocations: 8.654 MB / 0.6489 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.5573, allocations: 4 kB / 0.6489 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/0.5816, allocations: 5.84 MB / 0.6546 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006004/0.5823, allocations: 199.8 kB / 0.6548 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.5826, allocations: 16 kB / 0.6548 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.5841, allocations: 139.9 kB / 0.6549 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008562/0.5849, allocations: 201.9 kB / 0.6551 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.585, allocations: 20 kB / 0.6551 GB, free: 7.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.5861, allocations: 0.5549 MB / 0.6557 GB, free: 6.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5861, allocations: 0 / 0.6557 GB, free: 6.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002975/0.5891, allocations: 0.6788 MB / 0.6563 GB, free: 6.23 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.02368/0.6128, allocations: 6.556 MB / 0.6627 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01794/0.6307, allocations: 4.623 MB / 0.6672 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.6308, allocations: 0 / 0.6672 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007101/0.6379, allocations: 1.74 MB / 0.6689 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.6389, allocations: 75.91 kB / 0.669 GB, free: 9.172 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.6462, allocations: 4.202 MB / 0.6731 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/0.6471, allocations: 1.105 MB / 0.6742 GB, free: 3.762 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006854/0.6478, allocations: 103.1 kB / 0.6743 GB, free: 3.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006968/0.6485, allocations: 411.3 kB / 0.6747 GB, free: 3.258 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.6485, allocations: 0 / 0.6747 GB, free: 3.258 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05579/0.7043, allocations: 35.58 MB / 0.7094 GB, free: 32 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.7045, allocations: 191.9 kB / 0.7096 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.276, allocations: 3.609 kB / 0.7096 GB, free: 15.79 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1) Environment - environmentSimulation: