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.0008207/0.0008207, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.171/1.171, allocations: 223.3 MB / 239.3 MB, free: 5.523 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.0009211/0.0009212, allocations: 191.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3943/0.3943, allocations: 78.54 MB / 420.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12 kB / 0.4888 GB, free: 5.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 69.36 MB / 0.5565 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.1808/0.2837, allocations: 5.959 MB / 0.5623 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.286, allocations: 1.887 MB / 0.5642 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2863, allocations: 13 kB / 0.5642 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.2866, allocations: 165.2 kB / 0.5643 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2877, allocations: 0.6083 MB / 0.5649 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2885, allocations: 0.5764 MB / 0.5655 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008032/0.2893, allocations: 1.283 MB / 0.5667 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.2896, allocations: 252.4 kB / 0.567 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003674/0.29, allocations: 0.4939 MB / 0.5675 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.2904, allocations: 0.6254 MB / 0.5681 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.2905, allocations: 51.5 kB / 0.5681 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.2908, allocations: 191.8 kB / 0.5683 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.291, allocations: 215 kB / 0.5685 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.2912, allocations: 0.5525 MB / 0.569 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.292, allocations: 1.367 MB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.292, allocations: 1.844 kB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2921, allocations: 2.688 kB / 0.5704 GB, free: 33.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2921, allocations: 0.6562 kB / 0.5704 GB, free: 33.77 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.006097/0.2982, allocations: 2.276 MB / 0.5726 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2982, allocations: 17.33 kB / 0.5726 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.2983, allocations: 119.3 kB / 0.5727 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/0.3026, allocations: 0.772 MB / 0.5735 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.3034, allocations: 0.7431 MB / 0.5742 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3036, allocations: 263.1 kB / 0.5745 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.3037, allocations: 75.08 kB / 0.5745 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.3056, allocations: 1.173 MB / 0.5757 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3056, allocations: 0 / 0.5757 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.3057, allocations: 25.22 kB / 0.5757 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3057, allocations: 18.78 kB / 0.5757 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.3077, allocations: 1.124 MB / 0.5768 GB, free: 32.14 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.00458/0.3123, allocations: 3.588 MB / 0.5803 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.3144, allocations: 1.554 MB / 0.5818 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.3157, allocations: 0.8212 MB / 0.5826 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.3157, allocations: 11.5 kB / 0.5827 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3158, allocations: 42.09 kB / 0.5827 GB, free: 29.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 1.964e-06/0.3158, allocations: 0 / 0.5827 GB, free: 29.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.0245/0.3403, allocations: 7.991 MB / 0.5905 GB, free: 28.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.3404, allocations: 86.52 kB / 0.5906 GB, free: 28.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.3413, allocations: 0.8249 MB / 0.5914 GB, free: 28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.3414, allocations: 44.52 kB / 0.5914 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.3417, allocations: 451.2 kB / 0.5919 GB, free: 27.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.3419, allocations: 331.2 kB / 0.5922 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.342, allocations: 102 kB / 0.5923 GB, free: 27.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.3421, allocations: 348.3 kB / 0.5926 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.3436, allocations: 0.7725 MB / 0.5934 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3452, allocations: 0.9133 MB / 0.5943 GB, free: 26.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002992/0.3482, allocations: 1.66 MB / 0.5959 GB, free: 25.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3482, allocations: 1.375 kB / 0.5959 GB, free: 25.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01399/0.3622, allocations: 5.135 MB / 0.6009 GB, free: 24.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.3623, allocations: 160.4 kB / 0.601 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3623, allocations: 3.875 kB / 0.601 GB, free: 24.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.3688, allocations: 2.102 MB / 0.6031 GB, free: 23.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.3698, allocations: 201.9 kB / 0.6033 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.3894, allocations: 9.571 MB / 0.6126 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3908, allocations: 204.9 kB / 0.6128 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.3909, allocations: 39.09 kB / 0.6129 GB, free: 19.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.3909, allocations: 4 kB / 0.6129 GB, free: 19.2 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01225/0.4031, allocations: 4.993 MB / 0.6178 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4032, allocations: 4 kB / 0.6178 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.4086, allocations: 2.111 MB / 0.6198 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.4093, allocations: 187.7 kB / 0.62 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/0.4268, allocations: 9.557 MB / 0.6293 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.428, allocations: 191 kB / 0.6295 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.4281, allocations: 46.16 kB / 0.6296 GB, free: 2.477 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 (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.0004005/0.4285, allocations: 300.9 kB / 0.6298 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.4287, allocations: 107.7 kB / 0.6299 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.4414, allocations: 4.833 MB / 0.6347 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4414, allocations: 8 kB / 0.6347 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4414, allocations: 0 / 0.6347 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4415, allocations: 3.984 kB / 0.6347 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.4565, allocations: 6.546 MB / 0.6411 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4565, allocations: 7.938 kB / 0.6411 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.457, allocations: 115.9 kB / 0.6412 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005912/0.4629, allocations: 2.049 MB / 0.6432 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.463, allocations: 22 kB / 0.6432 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/0.4805, allocations: 8.223 MB / 0.6512 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4805, allocations: 3.984 kB / 0.6512 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.4957, allocations: 5.821 MB / 0.6569 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.496, allocations: 195.6 kB / 0.6571 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.4963, allocations: 16 kB / 0.6571 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.4973, allocations: 144.8 kB / 0.6573 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/0.4979, allocations: 201.9 kB / 0.6575 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.498, allocations: 24 kB / 0.6575 GB, free: 5.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006659/0.4987, allocations: 0.5589 MB / 0.658 GB, free: 4.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4987, allocations: 0 / 0.658 GB, free: 4.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001819/0.5005, allocations: 0.6827 MB / 0.6587 GB, free: 4.262 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 (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.01542/0.5159, allocations: 6.402 MB / 0.6649 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.5272, allocations: 4.639 MB / 0.6695 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5272, allocations: 8.5 kB / 0.6695 GB, free: 9.156 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00449/0.5317, allocations: 1.741 MB / 0.6712 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.5325, allocations: 89.17 kB / 0.6713 GB, free: 7.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/0.5698, allocations: 17.8 MB / 0.6886 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.5704, allocations: 1.081 MB / 0.6897 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003973/0.5708, allocations: 99.66 kB / 0.6898 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/0.5713, allocations: 415.3 kB / 0.6902 GB, free: 3.566 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5713, allocations: 0 / 0.6902 GB, free: 3.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.6242, allocations: 36.64 MB / 0.726 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.6244, allocations: 222.1 kB / 0.7262 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.969, allocations: 0 / 0.7262 GB, free: 15.02 MB / 0.5294 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/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)