Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001042/0.001042, allocations: 100.3 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.285/1.285, allocations: 223.2 MB / 239 MB, free: 5.504 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.001234/0.001234, allocations: 185 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4347/0.4347, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 12 kB / 0.489 GB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 69.51 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.22/0.3392, allocations: 5.331 MB / 0.5621 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.3428, allocations: 1.83 MB / 0.5639 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.3437, allocations: 11.44 kB / 0.5639 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.3441, allocations: 144.7 kB / 0.564 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3458, allocations: 0.6426 MB / 0.5646 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3469, allocations: 0.52 MB / 0.5652 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.3482, allocations: 0.8795 MB / 0.566 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.3486, allocations: 229.8 kB / 0.5662 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.3491, allocations: 485.4 kB / 0.5667 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.3498, allocations: 0.5938 MB / 0.5673 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3499, allocations: 51.12 kB / 0.5673 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.3503, allocations: 165.1 kB / 0.5675 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3505, allocations: 213.2 kB / 0.5677 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3507, allocations: 206.6 kB / 0.5679 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.3515, allocations: 1.02 MB / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3515, allocations: 0 / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3515, allocations: 3.031 kB / 0.5689 GB, free: 35.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3515, allocations: 0 / 0.5689 GB, free: 35.98 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.00698/0.3585, allocations: 2.295 MB / 0.5711 GB, free: 35.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3586, allocations: 8.688 kB / 0.5711 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.3634, allocations: 0.7754 MB / 0.5719 GB, free: 35.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3648, allocations: 0.7045 MB / 0.5726 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.3651, allocations: 266.1 kB / 0.5728 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3652, allocations: 73.69 kB / 0.5729 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.3673, allocations: 1.157 MB / 0.574 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3673, allocations: 0 / 0.574 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.3674, allocations: 40.89 kB / 0.5741 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3674, allocations: 18.42 kB / 0.5741 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3694, allocations: 1.113 MB / 0.5752 GB, free: 33.66 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.005557/0.375, allocations: 3.685 MB / 0.5788 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.3772, allocations: 1.547 MB / 0.5803 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/0.3773, allocations: 20.53 kB / 0.5803 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3773, allocations: 47.41 kB / 0.5803 GB, free: 30.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.3773, allocations: 0 / 0.5803 GB, free: 30.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02625/0.4036, allocations: 7.938 MB / 0.5881 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.4037, allocations: 91.19 kB / 0.5882 GB, free: 29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.4048, allocations: 0.8147 MB / 0.589 GB, free: 28.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.405, allocations: 41.73 kB / 0.589 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.4053, allocations: 461.3 kB / 0.5895 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.4057, allocations: 317.9 kB / 0.5898 GB, free: 27.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.4058, allocations: 29.34 kB / 0.5898 GB, free: 27.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.4059, allocations: 344 kB / 0.5901 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4075, allocations: 0.7684 MB / 0.5909 GB, free: 27.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4091, allocations: 0.9054 MB / 0.5918 GB, free: 27.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.4108, allocations: 0.8139 MB / 0.5925 GB, free: 26.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4108, allocations: 1.062 kB / 0.5925 GB, free: 26.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01495/0.4257, allocations: 5.119 MB / 0.5975 GB, free: 25.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.4259, allocations: 0.8794 MB / 0.5984 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.426, allocations: 2.5 kB / 0.5984 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.433, allocations: 2.111 MB / 0.6005 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4341, allocations: 197.3 kB / 0.6007 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/0.4577, allocations: 10.02 MB / 0.6104 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.4596, allocations: 205.6 kB / 0.6106 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4598, allocations: 37.45 kB / 0.6107 GB, free: 19.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4598, allocations: 4.125 kB / 0.6107 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01422/0.474, allocations: 4.974 MB / 0.6155 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.4741, allocations: 11.89 kB / 0.6156 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006144/0.4802, allocations: 2.112 MB / 0.6176 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/0.4812, allocations: 191.7 kB / 0.6178 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.5007, allocations: 10.01 MB / 0.6276 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5022, allocations: 195.1 kB / 0.6278 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.5023, allocations: 33.59 kB / 0.6278 GB, free: 3.836 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.0004973/0.5028, allocations: 306 kB / 0.6281 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.5029, allocations: 114.6 kB / 0.6282 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5159, allocations: 4.819 MB / 0.6329 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5159, allocations: 15.89 kB / 0.6329 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5159, allocations: 8 kB / 0.6329 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.516, allocations: 3.984 kB / 0.6329 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.5323, allocations: 6.529 MB / 0.6393 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.5323, allocations: 4.062 kB / 0.6393 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.533, allocations: 120.5 kB / 0.6394 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006305/0.5393, allocations: 2.052 MB / 0.6414 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.5395, allocations: 16 kB / 0.6414 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/0.5588, allocations: 8.658 MB / 0.6499 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5589, allocations: 4 kB / 0.6499 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.5752, allocations: 5.841 MB / 0.6556 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.5757, allocations: 195.6 kB / 0.6558 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.5759, allocations: 16 kB / 0.6558 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.5769, allocations: 145.5 kB / 0.6559 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005621/0.5775, allocations: 200.6 kB / 0.6561 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.5776, allocations: 23.98 kB / 0.6562 GB, free: 6.414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006637/0.5783, allocations: 0.5471 MB / 0.6567 GB, free: 5.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5783, allocations: 0 / 0.6567 GB, free: 5.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001952/0.5802, allocations: 0.6827 MB / 0.6574 GB, free: 5.172 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.0002468/0.5805, allocations: 135 kB / 0.6575 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01168/0.5922, allocations: 4.623 MB / 0.662 GB, free: 404 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5922, allocations: 0 / 0.662 GB, free: 404 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0046/0.5968, allocations: 1.738 MB / 0.6637 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.5975, allocations: 80.58 kB / 0.6638 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.601, allocations: 2.378 MB / 0.6661 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.6016, allocations: 1.101 MB / 0.6672 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004246/0.602, allocations: 101.7 kB / 0.6673 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.6022, allocations: 59.36 kB / 0.6673 GB, free: 10.89 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6022, allocations: 0 / 0.6673 GB, free: 10.89 MB / 478.1 MB Notification: Performance of Templates: time 0.03795/0.6402, allocations: 27.12 MB / 0.6938 GB, free: 15.95 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)