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.005593/0.005593, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.001246/0.001246, allocations: 197.2 kB / 16.79 MB, free: 6.258 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.31/1.31, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8967/0.8967, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.36 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 80.92 MB / 0.5843 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002497/0.1408, allocations: 1.49 MB / 0.5858 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000413/0.1412, allocations: 196.3 kB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.1412, allocations: 4 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.1413, allocations: 3.938 kB / 0.586 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.1413, allocations: 7.969 kB / 0.586 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1415, allocations: 23.92 kB / 0.586 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.058e-05/0.1416, allocations: 15.98 kB / 0.586 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.1417, allocations: 15.94 kB / 0.5861 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.1417, allocations: 7.938 kB / 0.5861 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.1418, allocations: 15.97 kB / 0.5861 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1418, allocations: 0 / 0.5861 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.1419, allocations: 31.97 kB / 0.5861 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1419, allocations: 7.922 kB / 0.5861 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.1419, allocations: 11.94 kB / 0.5861 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.626e-05/0.142, allocations: 23.97 kB / 0.5861 GB, free: 3.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.142, allocations: 0 / 0.5861 GB, free: 3.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.142, allocations: 0 / 0.5861 GB, free: 3.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.142, allocations: 4 kB / 0.5862 GB, free: 3.105 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.0004649/0.1425, allocations: 351.7 kB / 0.5865 GB, free: 2.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1426, allocations: 8.031 kB / 0.5865 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1426, allocations: 4.875 kB / 0.5865 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1427, allocations: 172.3 kB / 0.5867 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1427, allocations: 384 / 0.5867 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.1427, allocations: 384 / 0.5867 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1429, allocations: 54.23 kB / 0.5867 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1429, allocations: 192 / 0.5867 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.143, allocations: 11.92 kB / 0.5867 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.143, allocations: 4 kB / 0.5867 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1431, allocations: 35.89 kB / 0.5868 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.1435, allocations: 249 kB / 0.587 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1436, allocations: 46.48 kB / 0.587 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.1437, allocations: 16.91 kB / 0.5871 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.1438, allocations: 81.11 kB / 0.5871 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1438, allocations: 38.5 kB / 0.5872 GB, free: 1.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1438, allocations: 0 / 0.5872 GB, free: 1.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.1442, allocations: 81.64 kB / 0.5873 GB, free: 1.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1442, allocations: 51.41 kB / 0.5873 GB, free: 1.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.1443, allocations: 105.8 kB / 0.5874 GB, free: 1.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1443, allocations: 25.7 kB / 0.5874 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.1444, allocations: 84.14 kB / 0.5875 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.1444, allocations: 3.906 kB / 0.5875 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1444, allocations: 17.66 kB / 0.5875 GB, free: 1.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1445, allocations: 323 kB / 0.5878 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.1446, allocations: 15.98 kB / 0.5879 GB, free: 1.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.1447, allocations: 15.98 kB / 0.5879 GB, free: 1.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1449, allocations: 44.75 kB / 0.5879 GB, free: 1.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1449, allocations: 64 / 0.5879 GB, free: 1.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1451, allocations: 69.61 kB / 0.588 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1451, allocations: 4 kB / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1451, allocations: 0 / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1451, allocations: 0 / 0.588 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.1452, allocations: 11.98 kB / 0.588 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1452, allocations: 0 / 0.588 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1453, allocations: 11.89 kB / 0.588 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1453, allocations: 4.031 kB / 0.588 GB, free: 0.957 MB / 494.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 (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.485e-05/0.1453, allocations: 113.8 kB / 0.5881 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1454, allocations: 4 kB / 0.5881 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1456, allocations: 72.72 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1456, allocations: 0 / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1456, allocations: 4 kB / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1456, allocations: 0 / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1458, allocations: 169.6 kB / 0.5884 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1458, allocations: 3.938 kB / 0.5884 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.1459, allocations: 7.984 kB / 0.5884 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1459, allocations: 4 kB / 0.5884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.1459, allocations: 0 / 0.5884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1459, allocations: 256 / 0.5884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1459, allocations: 0 / 0.5884 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1461, allocations: 171.4 kB / 0.5885 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1462, allocations: 81.11 kB / 0.5886 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1462, allocations: 0 / 0.5886 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.1463, allocations: 7.984 kB / 0.5886 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.1463, allocations: 4 kB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1463, allocations: 0 / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.1464, allocations: 87.27 kB / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1464, allocations: 0 / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1466, allocations: 15.94 kB / 0.5887 GB, free: 128 kB / 494.1 MB 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.000149/0.1468, allocations: 107.2 kB / 0.5888 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.147, allocations: 35.95 kB / 0.5889 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.147, allocations: 0 / 0.5889 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1471, allocations: 23.92 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1474, allocations: 14.41 kB / 0.5889 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.1476, allocations: 137 kB / 0.589 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1479, allocations: 0.677 MB / 0.5897 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.1479, allocations: 7.438 kB / 0.5897 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1479, allocations: 0 / 0.5897 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.001941/0.1499, allocations: 0.6542 MB / 0.5903 GB, free: 14.41 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)