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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000757/0.0007571, allocations: 91.84 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.354/1.354, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.00115/0.00115, allocations: 172.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.4673/0.4673, allocations: 78.56 MB / 420.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 12 kB / 0.4887 GB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 69.36 MB / 0.5564 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.2703/0.4048, allocations: 5.974 MB / 0.5622 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.4092, allocations: 1.879 MB / 0.5641 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.4108, allocations: 12.59 kB / 0.5641 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.4116, allocations: 154.4 kB / 0.5642 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.414, allocations: 0.6137 MB / 0.5648 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.4155, allocations: 0.5887 MB / 0.5654 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.4174, allocations: 1.283 MB / 0.5666 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.4179, allocations: 253 kB / 0.5669 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.4189, allocations: 499.5 kB / 0.5674 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.4203, allocations: 0.6318 MB / 0.568 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003508/0.4207, allocations: 51.38 kB / 0.568 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/0.4215, allocations: 182.4 kB / 0.5682 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.4218, allocations: 213.5 kB / 0.5684 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.4226, allocations: 0.5508 MB / 0.5689 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.4241, allocations: 1.375 MB / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4241, allocations: 0 / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4242, allocations: 0 / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4242, allocations: 0.5312 kB / 0.5703 GB, free: 33.57 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.007049/0.4312, allocations: 2.28 MB / 0.5725 GB, free: 32.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4313, allocations: 8.625 kB / 0.5725 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.4362, allocations: 0.7763 MB / 0.5733 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4373, allocations: 0.7412 MB / 0.574 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.4376, allocations: 268.4 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.4378, allocations: 73.47 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.4401, allocations: 1.17 MB / 0.5755 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4401, allocations: 0.75 kB / 0.5755 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.4402, allocations: 32.56 kB / 0.5755 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.4402, allocations: 16.53 kB / 0.5755 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.4424, allocations: 1.122 MB / 0.5766 GB, free: 31.98 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.005724/0.4482, allocations: 3.586 MB / 0.5801 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.4505, allocations: 1.552 MB / 0.5816 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.452, allocations: 0.8196 MB / 0.5824 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.649e-05/0.4521, allocations: 18.52 kB / 0.5825 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4521, allocations: 42.69 kB / 0.5825 GB, free: 29.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.727e-06/0.4521, allocations: 4 kB / 0.5825 GB, free: 29.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02695/0.4791, allocations: 7.985 MB / 0.5903 GB, free: 28.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.4792, allocations: 89.42 kB / 0.5904 GB, free: 28.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.4808, allocations: 0.825 MB / 0.5912 GB, free: 27.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.4811, allocations: 41.95 kB / 0.5912 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.4815, allocations: 459.4 kB / 0.5917 GB, free: 27.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.482, allocations: 328.7 kB / 0.592 GB, free: 27.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.4823, allocations: 100.5 kB / 0.5921 GB, free: 27.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4824, allocations: 345.3 kB / 0.5924 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.4844, allocations: 0.7765 MB / 0.5932 GB, free: 26.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.4864, allocations: 0.9118 MB / 0.5941 GB, free: 26.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.4901, allocations: 1.656 MB / 0.5957 GB, free: 25.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4901, allocations: 1.375 kB / 0.5957 GB, free: 25.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01687/0.507, allocations: 5.139 MB / 0.6007 GB, free: 24.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.5073, allocations: 155.8 kB / 0.6008 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5073, allocations: 2.375 kB / 0.6008 GB, free: 24.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007929/0.5152, allocations: 2.1 MB / 0.6029 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5165, allocations: 202.6 kB / 0.6031 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/0.5411, allocations: 9.581 MB / 0.6124 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.5429, allocations: 204.4 kB / 0.6126 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.5431, allocations: 35.75 kB / 0.6127 GB, free: 19.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5431, allocations: 5.719 kB / 0.6127 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01469/0.5578, allocations: 4.993 MB / 0.6176 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.5579, allocations: 5.125 kB / 0.6176 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.5643, allocations: 2.099 MB / 0.6196 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5654, allocations: 191.7 kB / 0.6198 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/0.5858, allocations: 9.549 MB / 0.6291 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.5875, allocations: 195 kB / 0.6293 GB, free: 2.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.5878, allocations: 46.45 kB / 0.6293 GB, free: 2.676 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.0006298/0.5884, allocations: 300.9 kB / 0.6296 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.5887, allocations: 106.7 kB / 0.6297 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.6028, allocations: 4.838 MB / 0.6345 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.6029, allocations: 12 kB / 0.6345 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6029, allocations: 0 / 0.6345 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.6029, allocations: 7.984 kB / 0.6345 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.6205, allocations: 6.541 MB / 0.6409 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6206, allocations: 0 / 0.6409 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.6213, allocations: 120.8 kB / 0.641 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006637/0.6279, allocations: 2.053 MB / 0.643 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/0.6282, allocations: 16 kB / 0.643 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/0.6476, allocations: 8.227 MB / 0.651 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6476, allocations: 4 kB / 0.651 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.6644, allocations: 5.821 MB / 0.6567 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/0.665, allocations: 195.6 kB / 0.6569 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.6653, allocations: 21.12 kB / 0.6569 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.6664, allocations: 143.4 kB / 0.6571 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/0.6671, allocations: 208.6 kB / 0.6573 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.6672, allocations: 20 kB / 0.6573 GB, free: 5.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007864/0.6679, allocations: 0.555 MB / 0.6578 GB, free: 5.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.668, allocations: 0 / 0.6578 GB, free: 5.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002129/0.6701, allocations: 0.6788 MB / 0.6585 GB, free: 4.453 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.0002772/0.6704, allocations: 133.9 kB / 0.6586 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01249/0.6829, allocations: 4.641 MB / 0.6632 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6829, allocations: 4.062 kB / 0.6632 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004941/0.6879, allocations: 1.743 MB / 0.6649 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.6889, allocations: 83.42 kB / 0.6649 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.6927, allocations: 2.467 MB / 0.6673 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.6934, allocations: 1.078 MB / 0.6684 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005141/0.6939, allocations: 98.23 kB / 0.6685 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.6942, allocations: 63.42 kB / 0.6686 GB, free: 10.08 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6942, allocations: 0 / 0.6686 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Templates: time 0.04216/0.7363, allocations: 27.92 MB / 0.6958 GB, free: 14.35 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile Environment - environmentSimulation: (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1) Environment - environmentSimulation: