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.001073/0.001073, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.00102/0.00102, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8495/0.8495, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 80.19 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001913/0.39, allocations: 0.5836 MB / 0.5821 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.3904, allocations: 162.5 kB / 0.5822 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3905, allocations: 0 / 0.5822 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.3905, allocations: 1.781 kB / 0.5822 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.564e-05/0.3906, allocations: 0 / 0.5822 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.3909, allocations: 50.73 kB / 0.5823 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.466e-05/0.391, allocations: 7.562 kB / 0.5823 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.391, allocations: 4.797 kB / 0.5823 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.3911, allocations: 8.25 kB / 0.5823 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.3912, allocations: 10.17 kB / 0.5823 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3912, allocations: 1.688 kB / 0.5823 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.91e-05/0.3913, allocations: 35.7 kB / 0.5824 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.3913, allocations: 9.875 kB / 0.5824 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.3913, allocations: 8.188 kB / 0.5824 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3914, allocations: 25.02 kB / 0.5824 GB, free: 26.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3914, allocations: 0 / 0.5824 GB, free: 26.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3915, allocations: 5.25 kB / 0.5824 GB, free: 26.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3915, allocations: 4.484 kB / 0.5824 GB, free: 26.85 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.0003755/0.3918, allocations: 336.6 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3919, allocations: 8.531 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.3919, allocations: 6.406 kB / 0.5827 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.392, allocations: 161.7 kB / 0.5829 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.392, allocations: 5.688 kB / 0.5829 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3921, allocations: 4.062 kB / 0.5829 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3922, allocations: 44.69 kB / 0.5829 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3922, allocations: 8.422 kB / 0.583 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3922, allocations: 3.938 kB / 0.583 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3922, allocations: 1.375 kB / 0.583 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.3923, allocations: 16.23 kB / 0.583 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3924, allocations: 156.2 kB / 0.5831 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.3925, allocations: 48.5 kB / 0.5832 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.3926, allocations: 22.5 kB / 0.5832 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.3927, allocations: 79.42 kB / 0.5833 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3927, allocations: 36.53 kB / 0.5833 GB, free: 25.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3927, allocations: 1.156 kB / 0.5833 GB, free: 25.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001134/0.3939, allocations: 490 kB / 0.5838 GB, free: 25.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3939, allocations: 56.61 kB / 0.5838 GB, free: 25.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.674e-05/0.3939, allocations: 94.98 kB / 0.5839 GB, free: 25.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.964e-06/0.394, allocations: 27.08 kB / 0.5839 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.012e-05/0.394, allocations: 80.98 kB / 0.584 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.394, allocations: 22.75 kB / 0.584 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.394, allocations: 24.17 kB / 0.5841 GB, free: 25.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.3941, allocations: 318.7 kB / 0.5844 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.3941, allocations: 14.52 kB / 0.5844 GB, free: 24.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.3941, allocations: 10.75 kB / 0.5844 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.3942, allocations: 43.06 kB / 0.5844 GB, free: 24.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3942, allocations: 0.5625 kB / 0.5844 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.001e-05/0.3943, allocations: 67.77 kB / 0.5845 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3943, allocations: 9.188 kB / 0.5845 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3943, allocations: 5.469 kB / 0.5845 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3943, allocations: 2.125 kB / 0.5845 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.3944, allocations: 19.03 kB / 0.5845 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3944, allocations: 0 / 0.5845 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3945, allocations: 1.344 kB / 0.5845 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3945, allocations: 2.75 kB / 0.5845 GB, free: 24.66 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.822e-05/0.3945, allocations: 117.3 kB / 0.5846 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.3946, allocations: 5.344 kB / 0.5847 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.3947, allocations: 87.91 kB / 0.5847 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.3947, allocations: 3.094 kB / 0.5847 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3947, allocations: 1.156 kB / 0.5847 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3947, allocations: 0 / 0.5847 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.895e-05/0.3948, allocations: 169.2 kB / 0.5849 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3948, allocations: 1.188 kB / 0.5849 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.3949, allocations: 15.61 kB / 0.5849 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3949, allocations: 3.938 kB / 0.5849 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3949, allocations: 2.062 kB / 0.5849 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3949, allocations: 1.281 kB / 0.5849 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3949, allocations: 0.6562 kB / 0.5849 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3951, allocations: 111.5 kB / 0.585 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3951, allocations: 84.23 kB / 0.5851 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3951, allocations: 8.984 kB / 0.5851 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.3952, allocations: 6.188 kB / 0.5851 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.3952, allocations: 2.75 kB / 0.5851 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3952, allocations: 3.438 kB / 0.5851 GB, free: 24.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.141e-05/0.3952, allocations: 76.84 kB / 0.5852 GB, free: 23.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3952, allocations: 0 / 0.5852 GB, free: 23.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.3955, allocations: 36.7 kB / 0.5852 GB, free: 23.97 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.0002036/0.3957, allocations: 132.2 kB / 0.5854 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.3958, allocations: 37.8 kB / 0.5854 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3958, allocations: 0.5 kB / 0.5854 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.3959, allocations: 23.09 kB / 0.5854 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.396, allocations: 6.375 kB / 0.5854 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.3963, allocations: 134.4 kB / 0.5856 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3965, allocations: 0.6867 MB / 0.5862 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.3965, allocations: 15.89 kB / 0.5862 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.3965, allocations: 15.77 kB / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3965, allocations: 0 / 0.5863 GB, free: 22.99 MB / 446.1 MB Notification: Performance of Templates: time 0.002878/0.3994, allocations: 0.8643 MB / 0.5871 GB, free: 22.57 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)