Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009172, allocations: 91.45 kB / 15.36 MB, free: 0.7344 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.005836/0.005836, allocations: 169.7 kB / 16.26 MB, free: 6.68 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.461/1.461, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9442/0.9442, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005596, allocations: 8.781 kB / 0.5076 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 82.32 MB / 0.588 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001813/0.2175, allocations: 1.152 MB / 0.5891 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.218, allocations: 206 kB / 0.5893 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.218, allocations: 0 / 0.5893 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2181, allocations: 0 / 0.5893 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.2181, allocations: 3.938 kB / 0.5893 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2183, allocations: 19.98 kB / 0.5893 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.2184, allocations: 31.91 kB / 0.5893 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.2185, allocations: 4 kB / 0.5894 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.2185, allocations: 7.984 kB / 0.5894 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.2186, allocations: 7.938 kB / 0.5894 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2186, allocations: 4 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2187, allocations: 27.97 kB / 0.5894 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.2187, allocations: 11.98 kB / 0.5894 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.2188, allocations: 29.64 kB / 0.5894 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.2189, allocations: 47.86 kB / 0.5895 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2189, allocations: 0 / 0.5895 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2189, allocations: 4 kB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.2189, allocations: 0 / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004226/0.2194, allocations: 347.7 kB / 0.5898 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2194, allocations: 8.031 kB / 0.5898 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2194, allocations: 0.9375 kB / 0.5898 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2196, allocations: 168.3 kB / 0.59 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.2196, allocations: 4.375 kB / 0.59 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.2196, allocations: 4.375 kB / 0.59 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2198, allocations: 54.23 kB / 0.59 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2198, allocations: 192 / 0.59 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2198, allocations: 3.938 kB / 0.5901 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2199, allocations: 4 kB / 0.5901 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.22, allocations: 47.95 kB / 0.5901 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.2204, allocations: 244.9 kB / 0.5903 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2205, allocations: 54.42 kB / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2207, allocations: 32.84 kB / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/0.2208, allocations: 85.05 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2209, allocations: 30.56 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.2209, allocations: 0 / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003642/0.2212, allocations: 101.6 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2213, allocations: 55.41 kB / 0.5907 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.2214, allocations: 101.8 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2214, allocations: 29.83 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2214, allocations: 84.14 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.2214, allocations: 3.906 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.2215, allocations: 13.72 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2216, allocations: 314.8 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.2217, allocations: 23.98 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.2218, allocations: 19.98 kB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.222, allocations: 48.83 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.222, allocations: 8.047 kB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.2222, allocations: 77.55 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2223, allocations: 4 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2223, allocations: 0 / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.2223, allocations: 0 / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.2224, allocations: 24.02 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2224, allocations: 0 / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.2224, allocations: 8.234 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.2224, allocations: 0 / 0.5914 GB, free: 14.8 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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 6.862e-05/0.2225, allocations: 113.8 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.2225, allocations: 7.906 kB / 0.5915 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.2228, allocations: 84.78 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2228, allocations: 3.984 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2228, allocations: 4 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2228, allocations: 0 / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.223, allocations: 173.5 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.223, allocations: 0 / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.2231, allocations: 16.02 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2231, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2231, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2231, allocations: 3.938 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2231, allocations: 4 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.2233, allocations: 175.5 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.2234, allocations: 77.11 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2234, allocations: 0 / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.2235, allocations: 11.98 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.2235, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.2235, allocations: 8.031 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.419e-05/0.2236, allocations: 87.22 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2236, allocations: 0 / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.2239, allocations: 11.98 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001544/0.224, allocations: 103.2 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.2243, allocations: 51.95 kB / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2243, allocations: 0 / 0.5923 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.2244, allocations: 23.98 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2247, allocations: 7.938 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.2249, allocations: 120.7 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2251, allocations: 0.6731 MB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.2252, allocations: 3.984 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.2252, allocations: 19.36 kB / 0.5931 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2252, allocations: 0 / 0.5931 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.002483/0.2277, allocations: 0.5042 MB / 0.5936 GB, free: 12.37 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)