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.001367/0.001367, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.338/1.338, allocations: 222.9 MB / 239.6 MB, free: 4.754 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.001403/0.001403, allocations: 196.5 kB / 289.9 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4958/0.4958, allocations: 91.89 MB / 432 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 75.88 kB / 0.502 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3483, allocations: 71.26 MB / 0.5716 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.006298/0.3547, allocations: 6.449 MB / 0.5779 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.358, allocations: 1.904 MB / 0.5798 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.3587, allocations: 16.25 kB / 0.5798 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.3593, allocations: 165.2 kB / 0.5799 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3609, allocations: 0.6031 MB / 0.5805 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.362, allocations: 0.5871 MB / 0.5811 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.3633, allocations: 1.342 MB / 0.5824 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3637, allocations: 289.4 kB / 0.5827 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006789/0.3644, allocations: 0.5621 MB / 0.5832 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.365, allocations: 0.6863 MB / 0.5839 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.3652, allocations: 99.38 kB / 0.584 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.3656, allocations: 236.9 kB / 0.5842 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3658, allocations: 268.3 kB / 0.5845 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.3662, allocations: 0.5865 MB / 0.5851 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3672, allocations: 1.108 MB / 0.5861 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3672, allocations: 0 / 0.5861 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3672, allocations: 0 / 0.5861 GB, free: 28.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.3673, allocations: 1.219 kB / 0.5861 GB, free: 28.43 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.007709/0.375, allocations: 2.441 MB / 0.5885 GB, free: 27.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.375, allocations: 13.44 kB / 0.5885 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.3799, allocations: 0.769 MB / 0.5893 GB, free: 27.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.3813, allocations: 0.7306 MB / 0.59 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.3815, allocations: 262.8 kB / 0.5903 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3817, allocations: 76.09 kB / 0.5903 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.384, allocations: 1.1 MB / 0.5914 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.384, allocations: 0 / 0.5914 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.3841, allocations: 33.55 kB / 0.5914 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.3842, allocations: 17.66 kB / 0.5915 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.3864, allocations: 1.025 MB / 0.5925 GB, free: 25.61 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.005802/0.3922, allocations: 3.516 MB / 0.5959 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.3945, allocations: 1.441 MB / 0.5973 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3959, allocations: 0.7385 MB / 0.598 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.396, allocations: 17.34 kB / 0.598 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3961, allocations: 51.69 kB / 0.5981 GB, free: 22.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.3961, allocations: 0 / 0.5981 GB, free: 22.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02511/0.4212, allocations: 6.438 MB / 0.6044 GB, free: 21.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.4213, allocations: 87.05 kB / 0.6045 GB, free: 20.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4227, allocations: 0.8305 MB / 0.6053 GB, free: 20.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.423, allocations: 41.39 kB / 0.6053 GB, free: 20.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.4233, allocations: 455.1 kB / 0.6057 GB, free: 20.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4236, allocations: 319 kB / 0.606 GB, free: 19.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.424, allocations: 198.6 kB / 0.6062 GB, free: 19.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.4241, allocations: 349.2 kB / 0.6066 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.4257, allocations: 0.7025 MB / 0.6073 GB, free: 19.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.4273, allocations: 0.8329 MB / 0.6081 GB, free: 18.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.4302, allocations: 1.5 MB / 0.6095 GB, free: 18.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.4302, allocations: 1.5 kB / 0.6095 GB, free: 18.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01436/0.4446, allocations: 4.221 MB / 0.6137 GB, free: 17.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.4447, allocations: 12.62 kB / 0.6137 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4447, allocations: 3.344 kB / 0.6137 GB, free: 17.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.4512, allocations: 1.792 MB / 0.6154 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4523, allocations: 188.2 kB / 0.6156 GB, free: 16.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.4711, allocations: 9.344 MB / 0.6247 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.4728, allocations: 163 kB / 0.6249 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.473, allocations: 43.92 kB / 0.6249 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001629/0.4746, allocations: 0.85 MB / 0.6257 GB, free: 6.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001281/0.4759, allocations: 0.8159 MB / 0.6265 GB, free: 5.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002435/0.4783, allocations: 1.486 MB / 0.628 GB, free: 4.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.4784, allocations: 0 / 0.628 GB, free: 4.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01153/0.4899, allocations: 4.202 MB / 0.6321 GB, free: 184 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.49, allocations: 8 kB / 0.6321 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.4901, allocations: 4 kB / 0.6321 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005985/0.496, allocations: 1.796 MB / 0.6339 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.4971, allocations: 187.7 kB / 0.634 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.5174, allocations: 9.311 MB / 0.6431 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.519, allocations: 159 kB / 0.6433 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5191, allocations: 40 kB / 0.6433 GB, free: 4.527 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.000337/0.5195, allocations: 236.9 kB / 0.6436 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.5197, allocations: 106.7 kB / 0.6437 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.5318, allocations: 3.912 MB / 0.6475 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.5319, allocations: 8 kB / 0.6475 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5319, allocations: 4 kB / 0.6475 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.5319, allocations: 7.922 kB / 0.6475 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.5466, allocations: 5.618 MB / 0.653 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5467, allocations: 4 kB / 0.653 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.5474, allocations: 103.9 kB / 0.6531 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005697/0.5531, allocations: 1.745 MB / 0.6548 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.5533, allocations: 20 kB / 0.6548 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/0.5711, allocations: 8.099 MB / 0.6627 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.5712, allocations: 3.984 kB / 0.6627 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.5855, allocations: 4.817 MB / 0.6674 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.586, allocations: 191.6 kB / 0.6676 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.5863, allocations: 20 kB / 0.6676 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5873, allocations: 103.8 kB / 0.6677 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/0.588, allocations: 204.7 kB / 0.6679 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.588, allocations: 23.98 kB / 0.6679 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007002/0.5887, allocations: 0.5589 MB / 0.6685 GB, free: 10.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5888, allocations: 0 / 0.6685 GB, free: 10.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001981/0.5907, allocations: 0.6827 MB / 0.6692 GB, free: 9.695 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.0002925/0.591, allocations: 136.3 kB / 0.6693 GB, free: 9.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01187/0.6029, allocations: 4.21 MB / 0.6734 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.603, allocations: 4 kB / 0.6734 GB, free: 5.316 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00471/0.6077, allocations: 1.543 MB / 0.6749 GB, free: 3.758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6088, allocations: 87.38 kB / 0.675 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.613, allocations: 2.423 MB / 0.6774 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.6136, allocations: 1.074 MB / 0.6784 GB, free: 112 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.614, allocations: 67.42 kB / 0.6785 GB, free: 44 kB / 478.1 MB Notification: Performance of SimCode: time 1.283e-06/0.614, allocations: 4 kB / 0.6785 GB, free: 40 kB / 478.1 MB Notification: Performance of Templates: time 0.02711/0.6411, allocations: 20.1 MB / 0.6981 GB, free: 11.93 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)