Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/Complex 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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, 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/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 193.2 kB / 16.13 MB, free: 6.711 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7756/0.7756, allocations: 132.2 MB / 422.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.41 kB / 0.5011 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4417, allocations: 80.2 MB / 0.5794 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001905/0.4437, allocations: 0.6658 MB / 0.5801 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004825/0.4442, allocations: 159.3 kB / 0.5802 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.4442, allocations: 0 / 0.5802 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.4442, allocations: 0 / 0.5802 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.4443, allocations: 0 / 0.5802 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.4446, allocations: 35.59 kB / 0.5803 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.4447, allocations: 16.47 kB / 0.5803 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.4447, allocations: 7.531 kB / 0.5803 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.4447, allocations: 3.516 kB / 0.5803 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.4448, allocations: 9.109 kB / 0.5803 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.4448, allocations: 5.062 kB / 0.5803 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.4449, allocations: 36.86 kB / 0.5803 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.445, allocations: 5.484 kB / 0.5804 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.445, allocations: 7.203 kB / 0.5804 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.4451, allocations: 26.95 kB / 0.5804 GB, free: 3.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4451, allocations: 0 / 0.5804 GB, free: 3.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4451, allocations: 1.344 kB / 0.5804 GB, free: 3.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.4451, allocations: 0 / 0.5804 GB, free: 3.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004374/0.4456, allocations: 333.9 kB / 0.5807 GB, free: 3.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.4457, allocations: 14.83 kB / 0.5807 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.4457, allocations: 5.469 kB / 0.5807 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4458, allocations: 162.5 kB / 0.5809 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4458, allocations: 6.219 kB / 0.5809 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4459, allocations: 3.094 kB / 0.5809 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.446, allocations: 41.86 kB / 0.5809 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.446, allocations: 192 / 0.5809 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.446, allocations: 4.719 kB / 0.5809 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.446, allocations: 0.7188 kB / 0.5809 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.4461, allocations: 15.44 kB / 0.581 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.4463, allocations: 164.8 kB / 0.5811 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4464, allocations: 52.89 kB / 0.5812 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.4465, allocations: 17.83 kB / 0.5812 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.774e-05/0.4465, allocations: 85.42 kB / 0.5813 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4466, allocations: 33.3 kB / 0.5813 GB, free: 2.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4466, allocations: 4 kB / 0.5813 GB, free: 2.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001316/0.4479, allocations: 488.4 kB / 0.5818 GB, free: 2.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.4479, allocations: 52.53 kB / 0.5818 GB, free: 2.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.454e-05/0.448, allocations: 92.44 kB / 0.5819 GB, free: 2.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.448, allocations: 27.11 kB / 0.5819 GB, free: 2.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.448, allocations: 80.14 kB / 0.582 GB, free: 2.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.448, allocations: 32.75 kB / 0.582 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.4481, allocations: 26.25 kB / 0.5821 GB, free: 2.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.4481, allocations: 316.8 kB / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.4482, allocations: 8.969 kB / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.4482, allocations: 13.88 kB / 0.5824 GB, free: 1.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.4483, allocations: 35.02 kB / 0.5824 GB, free: 1.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4483, allocations: 0 / 0.5824 GB, free: 1.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001043/0.4484, allocations: 71.88 kB / 0.5825 GB, free: 1.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4484, allocations: 12.84 kB / 0.5825 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4484, allocations: 0 / 0.5825 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4484, allocations: 4 kB / 0.5825 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.4485, allocations: 16.88 kB / 0.5825 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4486, allocations: 1.344 kB / 0.5825 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.4486, allocations: 1.812 kB / 0.5825 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4486, allocations: 2.031 kB / 0.5825 GB, free: 1.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.4487, allocations: 113.7 kB / 0.5826 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.4487, allocations: 6.188 kB / 0.5826 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.4488, allocations: 96.98 kB / 0.5827 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4489, allocations: 1.438 kB / 0.5827 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4489, allocations: 0 / 0.5827 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.4489, allocations: 0.6562 kB / 0.5827 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.405e-05/0.449, allocations: 158.8 kB / 0.5829 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.449, allocations: 2.078 kB / 0.5829 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.4491, allocations: 17.47 kB / 0.5829 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4491, allocations: 7.938 kB / 0.5829 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4491, allocations: 5.859 kB / 0.5829 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4491, allocations: 0 / 0.5829 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4491, allocations: 0.5156 kB / 0.5829 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.4493, allocations: 125.1 kB / 0.583 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/0.4493, allocations: 82.33 kB / 0.5831 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4493, allocations: 2.109 kB / 0.5831 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.4494, allocations: 6.844 kB / 0.5831 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4494, allocations: 3.625 kB / 0.5831 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.4494, allocations: 3.391 kB / 0.5831 GB, free: 1.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.857e-05/0.4494, allocations: 80.61 kB / 0.5832 GB, free: 1.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4494, allocations: 0 / 0.5832 GB, free: 1.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.4497, allocations: 34.06 kB / 0.5832 GB, free: 1.164 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.4499, allocations: 122.8 kB / 0.5833 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.45, allocations: 45.14 kB / 0.5834 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.45, allocations: 0 / 0.5834 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.4501, allocations: 25.45 kB / 0.5834 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.4502, allocations: 6.156 kB / 0.5834 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.4505, allocations: 154.9 kB / 0.5836 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.507e-05/0.4506, allocations: 0.681 MB / 0.5842 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.4506, allocations: 5.734 kB / 0.5842 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.4507, allocations: 11.31 kB / 0.5843 GB, free: 204 kB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4507, allocations: 1.344 kB / 0.5843 GB, free: 204 kB / 430.1 MB Notification: Performance of Templates: time 0.003563/0.4542, allocations: 0.8523 MB / 0.5851 GB, free: 104 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)