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.00144/0.00144, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001596/0.001596, allocations: 194.3 kB / 17.3 MB, free: 5.52 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: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8182/0.8182, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 80.19 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00166/0.3725, allocations: 0.5997 MB / 0.5821 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003299/0.3729, allocations: 159 kB / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.3729, allocations: 3.188 kB / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.3729, allocations: 0 / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.015e-05/0.3729, allocations: 0 / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.3733, allocations: 42.52 kB / 0.5823 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.3733, allocations: 15.53 kB / 0.5823 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.3734, allocations: 7.828 kB / 0.5823 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.3734, allocations: 3.844 kB / 0.5823 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.3734, allocations: 13.52 kB / 0.5823 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3735, allocations: 1.469 kB / 0.5823 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.3735, allocations: 35.45 kB / 0.5824 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3736, allocations: 1.438 kB / 0.5824 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3736, allocations: 11.97 kB / 0.5824 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.004e-05/0.3737, allocations: 28.94 kB / 0.5824 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3737, allocations: 0 / 0.5824 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3737, allocations: 0.8125 kB / 0.5824 GB, free: 27.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3737, allocations: 0.7812 kB / 0.5824 GB, free: 27.04 MB / 446.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.0002901/0.374, allocations: 335 kB / 0.5827 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3741, allocations: 10.16 kB / 0.5827 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3741, allocations: 2.188 kB / 0.5827 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.283e-05/0.3742, allocations: 167.3 kB / 0.5829 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3742, allocations: 5.5 kB / 0.5829 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3742, allocations: 7.125 kB / 0.5829 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.3743, allocations: 41.62 kB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3743, allocations: 0.75 kB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3743, allocations: 3.938 kB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3744, allocations: 1.844 kB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.3744, allocations: 20.48 kB / 0.583 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.3745, allocations: 157.6 kB / 0.5831 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.3746, allocations: 48.62 kB / 0.5832 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.3747, allocations: 24.44 kB / 0.5832 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.3747, allocations: 79.61 kB / 0.5833 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3748, allocations: 32.41 kB / 0.5833 GB, free: 26.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3748, allocations: 0 / 0.5833 GB, free: 26.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001137/0.3759, allocations: 499.2 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.3759, allocations: 53.59 kB / 0.5838 GB, free: 25.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.376, allocations: 92.17 kB / 0.5839 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.376, allocations: 31.36 kB / 0.5839 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.376, allocations: 81.23 kB / 0.584 GB, free: 25.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.3761, allocations: 25.88 kB / 0.584 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3761, allocations: 24.58 kB / 0.5841 GB, free: 25.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.3761, allocations: 312.8 kB / 0.5844 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.3762, allocations: 15.95 kB / 0.5844 GB, free: 24.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.3762, allocations: 12.03 kB / 0.5844 GB, free: 24.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.3763, allocations: 34.09 kB / 0.5844 GB, free: 24.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3763, allocations: 0 / 0.5844 GB, free: 24.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.676e-05/0.3764, allocations: 72.17 kB / 0.5845 GB, free: 24.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3764, allocations: 9.75 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3764, allocations: 0 / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3764, allocations: 2 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.3765, allocations: 14.88 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3765, allocations: 1.25 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.3765, allocations: 1.562 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3766, allocations: 9.516 kB / 0.5845 GB, free: 24.85 MB / 446.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 4.474e-05/0.3766, allocations: 109.2 kB / 0.5846 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3766, allocations: 6.719 kB / 0.5846 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.3768, allocations: 92.3 kB / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3768, allocations: 2.312 kB / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3768, allocations: 0.5938 kB / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3768, allocations: 0 / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.133e-05/0.3769, allocations: 172 kB / 0.5849 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3769, allocations: 3.938 kB / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.377, allocations: 14.97 kB / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.377, allocations: 3.938 kB / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.377, allocations: 0 / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.377, allocations: 0 / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.377, allocations: 0 / 0.5849 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3772, allocations: 121 kB / 0.585 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3772, allocations: 90.34 kB / 0.5851 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3772, allocations: 6.672 kB / 0.5851 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.3773, allocations: 5.125 kB / 0.5851 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.3773, allocations: 2.656 kB / 0.5851 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3773, allocations: 3.625 kB / 0.5851 GB, free: 24.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.534e-05/0.3773, allocations: 80.56 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3773, allocations: 0 / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.3775, allocations: 34.83 kB / 0.5852 GB, free: 24.15 MB / 446.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.0001804/0.3777, allocations: 135.5 kB / 0.5854 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3778, allocations: 41.14 kB / 0.5854 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3779, allocations: 0 / 0.5854 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.3779, allocations: 19.06 kB / 0.5854 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.378, allocations: 2.406 kB / 0.5854 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3783, allocations: 135.6 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.3784, allocations: 0.6805 MB / 0.5862 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.3785, allocations: 13.33 kB / 0.5862 GB, free: 23.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.3785, allocations: 15.31 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3785, allocations: 1.188 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002872/0.3814, allocations: 0.8593 MB / 0.5871 GB, free: 22.77 MB / 446.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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)