Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.006192/0.006192, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001267/0.001267, allocations: 194.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.95 MB / 324.8 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.09 kB / 456.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1462, allocations: 59.6 MB / 0.5038 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00173/0.1479, allocations: 0.5605 MB / 0.5043 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000399/0.1484, allocations: 153.8 kB / 0.5045 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.1484, allocations: 1.375 kB / 0.5045 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1484, allocations: 0 / 0.5045 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.1485, allocations: 0 / 0.5045 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.1488, allocations: 38.97 kB / 0.5045 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.1489, allocations: 22.8 kB / 0.5045 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.149, allocations: 5.359 kB / 0.5046 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.149, allocations: 4.125 kB / 0.5046 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.1491, allocations: 13.3 kB / 0.5046 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1491, allocations: 1.375 kB / 0.5046 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.1492, allocations: 32.47 kB / 0.5046 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1493, allocations: 5.359 kB / 0.5046 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.1493, allocations: 9.359 kB / 0.5046 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.1494, allocations: 29.52 kB / 0.5046 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1494, allocations: 0 / 0.5046 GB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1494, allocations: 0 / 0.5046 GB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1494, allocations: 5.375 kB / 0.5047 GB, free: 9.137 MB / 382.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.0004366/0.1499, allocations: 333 kB / 0.505 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1499, allocations: 9.625 kB / 0.505 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.15, allocations: 2.312 kB / 0.505 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1501, allocations: 169.7 kB / 0.5051 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1501, allocations: 1.75 kB / 0.5051 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1501, allocations: 5.75 kB / 0.5051 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1503, allocations: 53.81 kB / 0.5052 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1503, allocations: 4 kB / 0.5052 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1503, allocations: 1.375 kB / 0.5052 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1503, allocations: 0 / 0.5052 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.1504, allocations: 20.17 kB / 0.5052 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1505, allocations: 159.1 kB / 0.5054 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.1506, allocations: 48.44 kB / 0.5054 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.1507, allocations: 21.17 kB / 0.5054 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-05/0.1508, allocations: 91.78 kB / 0.5055 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1508, allocations: 30.56 kB / 0.5056 GB, free: 8.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1508, allocations: 1.375 kB / 0.5056 GB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001188/0.152, allocations: 479.9 kB / 0.506 GB, free: 7.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.152, allocations: 52.75 kB / 0.5061 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.1521, allocations: 91.2 kB / 0.5062 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1521, allocations: 29.83 kB / 0.5062 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.1521, allocations: 85.48 kB / 0.5063 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1521, allocations: 26.52 kB / 0.5063 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.1522, allocations: 23.59 kB / 0.5063 GB, free: 7.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.1522, allocations: 316.9 kB / 0.5066 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.1523, allocations: 10.81 kB / 0.5066 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.1523, allocations: 19.58 kB / 0.5066 GB, free: 7.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.1524, allocations: 37.33 kB / 0.5067 GB, free: 6.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1524, allocations: 4 kB / 0.5067 GB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.1525, allocations: 74.7 kB / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1525, allocations: 6.75 kB / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1525, allocations: 0 / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1525, allocations: 0 / 0.5068 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.1526, allocations: 15.02 kB / 0.5068 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1526, allocations: 4.938 kB / 0.5068 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.1527, allocations: 4.969 kB / 0.5068 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.1527, allocations: 2.094 kB / 0.5068 GB, free: 6.914 MB / 382.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 5.323e-05/0.1527, allocations: 112.3 kB / 0.5069 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1527, allocations: 5.062 kB / 0.5069 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.1529, allocations: 88.08 kB / 0.507 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1529, allocations: 5.516 kB / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1529, allocations: 0 / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.153, allocations: 0 / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.669e-05/0.153, allocations: 165.6 kB / 0.5071 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1531, allocations: 1 kB / 0.5071 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.1531, allocations: 19.05 kB / 0.5072 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1531, allocations: 5.25 kB / 0.5072 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1532, allocations: 4 kB / 0.5072 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1532, allocations: 1.406 kB / 0.5072 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1532, allocations: 0 / 0.5072 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1533, allocations: 122.8 kB / 0.5073 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.1534, allocations: 86.16 kB / 0.5074 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1534, allocations: 1.062 kB / 0.5074 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.1534, allocations: 0.8438 kB / 0.5074 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.1535, allocations: 10.98 kB / 0.5074 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1535, allocations: 11.09 kB / 0.5074 GB, free: 6.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2e-05/0.1535, allocations: 75.28 kB / 0.5075 GB, free: 6.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 1.688 kB / 0.5075 GB, free: 6.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1537, allocations: 23.81 kB / 0.5075 GB, free: 6.207 MB / 382.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.0001844/0.1539, allocations: 127.4 kB / 0.5076 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.154, allocations: 35.64 kB / 0.5076 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1541, allocations: 0 / 0.5076 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.1541, allocations: 35.16 kB / 0.5077 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1543, allocations: 13.69 kB / 0.5077 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1545, allocations: 138.4 kB / 0.5078 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.1547, allocations: 0.6801 MB / 0.5085 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.1547, allocations: 11.78 kB / 0.5085 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1547, allocations: 15.56 kB / 0.5085 GB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1547, allocations: 0 / 0.5085 GB, free: 5.219 MB / 382.1 MB Notification: Performance of Templates: time 0.003549/0.1583, allocations: 0.8763 MB / 0.5094 GB, free: 4.754 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)