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.001186/0.001186, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001142/0.001142, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8158/0.8158, allocations: 132.2 MB / 423.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.5024 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3504, allocations: 80.18 MB / 0.5807 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001743/0.3522, allocations: 0.5992 MB / 0.5813 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.3526, allocations: 154.8 kB / 0.5815 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3526, allocations: 0 / 0.5815 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.3527, allocations: 5.281 kB / 0.5815 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.135e-05/0.3527, allocations: 5.344 kB / 0.5815 GB, free: 26.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.353, allocations: 42.45 kB / 0.5815 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.204e-05/0.3531, allocations: 6.594 kB / 0.5815 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3531, allocations: 4.344 kB / 0.5815 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.213e-05/0.3532, allocations: 10.67 kB / 0.5816 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.3532, allocations: 10.17 kB / 0.5816 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3533, allocations: 1.938 kB / 0.5816 GB, free: 26.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.3534, allocations: 31.75 kB / 0.5816 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3534, allocations: 9.797 kB / 0.5816 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3534, allocations: 10.66 kB / 0.5816 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.3535, allocations: 25.8 kB / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3535, allocations: 1.094 kB / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3535, allocations: 0 / 0.5816 GB, free: 26.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3535, allocations: 0 / 0.5816 GB, free: 26.69 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.0003545/0.3539, allocations: 338.8 kB / 0.582 GB, free: 26.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3539, allocations: 16.16 kB / 0.582 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.354, allocations: 2.344 kB / 0.582 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.3541, allocations: 162 kB / 0.5821 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3541, allocations: 5.594 kB / 0.5821 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3541, allocations: 1.688 kB / 0.5821 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3543, allocations: 41.59 kB / 0.5822 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3543, allocations: 2.344 kB / 0.5822 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3543, allocations: 7.875 kB / 0.5822 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3543, allocations: 2.375 kB / 0.5822 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.3544, allocations: 16.23 kB / 0.5822 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.3545, allocations: 157.6 kB / 0.5824 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.3546, allocations: 48.75 kB / 0.5824 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.3546, allocations: 21.44 kB / 0.5824 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.3547, allocations: 84.34 kB / 0.5825 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3547, allocations: 37.06 kB / 0.5825 GB, free: 25.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3548, allocations: 0 / 0.5825 GB, free: 25.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001218/0.356, allocations: 492.8 kB / 0.583 GB, free: 25.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.356, allocations: 53.41 kB / 0.5831 GB, free: 25.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.3561, allocations: 101.4 kB / 0.5832 GB, free: 25.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3561, allocations: 25.7 kB / 0.5832 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.3561, allocations: 81.33 kB / 0.5833 GB, free: 24.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3561, allocations: 22.53 kB / 0.5833 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3562, allocations: 24.64 kB / 0.5833 GB, free: 24.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3562, allocations: 312.3 kB / 0.5836 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.3563, allocations: 10.69 kB / 0.5836 GB, free: 24.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.3563, allocations: 15.95 kB / 0.5836 GB, free: 24.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.3564, allocations: 39.16 kB / 0.5837 GB, free: 24.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3564, allocations: 5.5 kB / 0.5837 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.677e-05/0.3565, allocations: 66.47 kB / 0.5837 GB, free: 24.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3565, allocations: 13.33 kB / 0.5837 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3565, allocations: 1.312 kB / 0.5837 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3565, allocations: 1.75 kB / 0.5838 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3566, allocations: 12.16 kB / 0.5838 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3566, allocations: 0 / 0.5838 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.3567, allocations: 5.594 kB / 0.5838 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3567, allocations: 2.312 kB / 0.5838 GB, free: 24.5 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.935e-05/0.3567, allocations: 113.6 kB / 0.5839 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3567, allocations: 9.297 kB / 0.5839 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.3569, allocations: 87.67 kB / 0.584 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3569, allocations: 1.406 kB / 0.584 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3569, allocations: 0.7188 kB / 0.584 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3569, allocations: 8.5 kB / 0.584 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.591e-05/0.357, allocations: 164.6 kB / 0.5841 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.357, allocations: 1.219 kB / 0.5841 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.3571, allocations: 18.86 kB / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3571, allocations: 4.969 kB / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3571, allocations: 1.531 kB / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3571, allocations: 0 / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3571, allocations: 0 / 0.5842 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3573, allocations: 122.3 kB / 0.5843 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.3573, allocations: 82.42 kB / 0.5844 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3573, allocations: 1.375 kB / 0.5844 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.3574, allocations: 1.375 kB / 0.5844 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3574, allocations: 10.73 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3574, allocations: 2.812 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.645e-05/0.3575, allocations: 76.97 kB / 0.5844 GB, free: 23.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 0 / 0.5844 GB, free: 23.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3577, allocations: 33.11 kB / 0.5845 GB, free: 23.8 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.0001967/0.3579, allocations: 129.2 kB / 0.5846 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.358, allocations: 48.69 kB / 0.5846 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.358, allocations: 0.5 kB / 0.5846 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.3581, allocations: 24.47 kB / 0.5847 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3582, allocations: 10.81 kB / 0.5847 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.3585, allocations: 163.8 kB / 0.5848 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3587, allocations: 0.6818 MB / 0.5855 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.3587, allocations: 11.22 kB / 0.5855 GB, free: 22.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3587, allocations: 6.406 kB / 0.5855 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002284/0.361, allocations: 0.917 MB / 0.5864 GB, free: 22.36 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)