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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.296/1.296, allocations: 222.9 MB / 238.9 MB, free: 4.676 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.001388/0.001388, allocations: 188.5 kB / 289.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4978/0.4978, allocations: 91.88 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.89 kB / 0.5012 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3897, allocations: 71.27 MB / 0.5708 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005764/0.3956, allocations: 6.438 MB / 0.5771 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.3991, allocations: 1.917 MB / 0.579 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.4, allocations: 15.31 kB / 0.579 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.4005, allocations: 155.5 kB / 0.5791 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.402, allocations: 0.632 MB / 0.5797 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.4033, allocations: 0.5818 MB / 0.5803 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.4045, allocations: 1.283 MB / 0.5816 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.4049, allocations: 256.5 kB / 0.5818 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.4056, allocations: 0.5176 MB / 0.5823 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.4061, allocations: 0.6568 MB / 0.5829 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4062, allocations: 62.59 kB / 0.583 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.4067, allocations: 191.1 kB / 0.5832 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4069, allocations: 229.5 kB / 0.5834 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.4072, allocations: 0.5523 MB / 0.5839 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.4083, allocations: 1.398 MB / 0.5853 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4083, allocations: 0 / 0.5853 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4083, allocations: 7.312 kB / 0.5853 GB, free: 28.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.4083, allocations: 0 / 0.5853 GB, free: 28.19 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.008358/0.4167, allocations: 2.444 MB / 0.5877 GB, free: 27.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.936e-05/0.4168, allocations: 9.625 kB / 0.5877 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.422, allocations: 0.7678 MB / 0.5885 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4232, allocations: 0.7319 MB / 0.5892 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.4235, allocations: 261.4 kB / 0.5894 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.4236, allocations: 74.34 kB / 0.5895 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.4259, allocations: 1.094 MB / 0.5906 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4259, allocations: 0 / 0.5906 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-05/0.426, allocations: 30.03 kB / 0.5906 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.426, allocations: 21.31 kB / 0.5906 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.4282, allocations: 1.02 MB / 0.5916 GB, free: 25.39 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.005723/0.4339, allocations: 3.514 MB / 0.595 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.4363, allocations: 1.446 MB / 0.5965 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4377, allocations: 0.7427 MB / 0.5972 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.4378, allocations: 14.59 kB / 0.5972 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4378, allocations: 43.84 kB / 0.5972 GB, free: 22.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.918e-06/0.4378, allocations: 0 / 0.5972 GB, free: 22.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02638/0.4642, allocations: 6.441 MB / 0.6035 GB, free: 20.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.4643, allocations: 86.86 kB / 0.6036 GB, free: 20.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.466, allocations: 0.8345 MB / 0.6044 GB, free: 20.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.4663, allocations: 41.61 kB / 0.6045 GB, free: 20.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.4667, allocations: 454.7 kB / 0.6049 GB, free: 19.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004677/0.4672, allocations: 322.4 kB / 0.6052 GB, free: 19.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.4678, allocations: 195.5 kB / 0.6054 GB, free: 19.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.4679, allocations: 349.3 kB / 0.6057 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.4696, allocations: 0.7029 MB / 0.6064 GB, free: 19.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4713, allocations: 0.8314 MB / 0.6072 GB, free: 18.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.4746, allocations: 1.505 MB / 0.6087 GB, free: 17.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4746, allocations: 1.875 kB / 0.6087 GB, free: 17.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01597/0.4906, allocations: 4.217 MB / 0.6128 GB, free: 16.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.4907, allocations: 5.938 kB / 0.6128 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4907, allocations: 7.344 kB / 0.6128 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006903/0.4977, allocations: 1.784 MB / 0.6146 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4987, allocations: 188.2 kB / 0.6148 GB, free: 16.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.5173, allocations: 8.596 MB / 0.6231 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5189, allocations: 163 kB / 0.6233 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.5191, allocations: 39.98 kB / 0.6233 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001769/0.5209, allocations: 0.85 MB / 0.6242 GB, free: 7.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001422/0.5223, allocations: 0.8159 MB / 0.625 GB, free: 6.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00261/0.525, allocations: 1.49 MB / 0.6264 GB, free: 5.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.525, allocations: 0 / 0.6264 GB, free: 5.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01216/0.5371, allocations: 4.199 MB / 0.6305 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5372, allocations: 4 kB / 0.6305 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5372, allocations: 4 kB / 0.6305 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005828/0.543, allocations: 1.788 MB / 0.6323 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.5441, allocations: 187.7 kB / 0.6325 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.5644, allocations: 8.574 MB / 0.6408 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.566, allocations: 159 kB / 0.641 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.5663, allocations: 39.98 kB / 0.641 GB, free: 6.074 MB / 446.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.0004293/0.5667, allocations: 233.7 kB / 0.6412 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.5671, allocations: 106.7 kB / 0.6413 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.5802, allocations: 3.923 MB / 0.6452 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.5803, allocations: 8 kB / 0.6452 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5803, allocations: 4 kB / 0.6452 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.5803, allocations: 3.984 kB / 0.6452 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.5966, allocations: 5.618 MB / 0.6507 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5966, allocations: 0 / 0.6507 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.5973, allocations: 107.9 kB / 0.6508 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006092/0.6034, allocations: 1.737 MB / 0.6525 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.6037, allocations: 16 kB / 0.6525 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.6217, allocations: 7.37 MB / 0.6597 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6218, allocations: 0 / 0.6597 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.6374, allocations: 4.821 MB / 0.6644 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/0.6379, allocations: 191.6 kB / 0.6646 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004819/0.6384, allocations: 19.94 kB / 0.6646 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.6397, allocations: 99.89 kB / 0.6647 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008604/0.6406, allocations: 204.5 kB / 0.6649 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.6408, allocations: 20 kB / 0.6649 GB, free: 13.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.6418, allocations: 0.5589 MB / 0.6655 GB, free: 12.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6418, allocations: 4 kB / 0.6655 GB, free: 12.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002772/0.6446, allocations: 0.6827 MB / 0.6661 GB, free: 11.99 MB / 478.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.0003514/0.645, allocations: 125 kB / 0.6662 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01199/0.657, allocations: 4.113 MB / 0.6703 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.657, allocations: 11.88 kB / 0.6703 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00467/0.6617, allocations: 1.506 MB / 0.6717 GB, free: 6.195 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6629, allocations: 87.42 kB / 0.6718 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.6675, allocations: 2.377 MB / 0.6741 GB, free: 3.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.6682, allocations: 1.074 MB / 0.6752 GB, free: 2.598 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005551/0.6688, allocations: 106.7 kB / 0.6753 GB, free: 2.488 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.669, allocations: 55.42 kB / 0.6753 GB, free: 2.434 MB / 478.1 MB Notification: Performance of SimCode: time 6.32e-07/0.669, allocations: 0 / 0.6753 GB, free: 2.434 MB / 478.1 MB Notification: Performance of Templates: time 0.0432/0.7122, allocations: 28.6 MB / 0.7033 GB, free: 5.883 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)