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.01099/0.01099, allocations: 102 kB / 15.73 MB, free: 6.051 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.001884/0.001884, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8038/0.8038, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 65.5 kB / 0.5814 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1961, allocations: 80.21 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002515/0.1987, allocations: 0.5915 MB / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005881/0.1993, allocations: 170.3 kB / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1994, allocations: 0 / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1994, allocations: 0 / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/0.1995, allocations: 0 / 0.6605 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.1999, allocations: 43.83 kB / 0.6605 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.2, allocations: 12 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.2, allocations: 0 / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.2001, allocations: 11.97 kB / 0.6605 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.2002, allocations: 11.94 kB / 0.6605 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2002, allocations: 4 kB / 0.6605 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-05/0.2003, allocations: 35.95 kB / 0.6606 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2003, allocations: 3.938 kB / 0.6606 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.2004, allocations: 15.92 kB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2005, allocations: 19.97 kB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2005, allocations: 0 / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2005, allocations: 0 / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.2005, allocations: 4 kB / 0.6606 GB, free: 9.285 MB / 0.4981 GB 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.0005373/0.2011, allocations: 335.5 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2011, allocations: 8.031 kB / 0.6609 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.2012, allocations: 8.938 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2014, allocations: 164.3 kB / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2015, allocations: 384 / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.2015, allocations: 8.375 kB / 0.6611 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.2016, allocations: 46.19 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2017, allocations: 192 / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2017, allocations: 3.938 kB / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2017, allocations: 3.984 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.2018, allocations: 15.98 kB / 0.6612 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.2021, allocations: 169.6 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2023, allocations: 42.62 kB / 0.6614 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/0.2023, allocations: 20.97 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.2025, allocations: 81.11 kB / 0.6615 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2025, allocations: 34.5 kB / 0.6615 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2025, allocations: 0 / 0.6615 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001634/0.2041, allocations: 488.3 kB / 0.662 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.2043, allocations: 51.41 kB / 0.662 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.2043, allocations: 97.84 kB / 0.6621 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2044, allocations: 29.7 kB / 0.6622 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.2044, allocations: 80.14 kB / 0.6622 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2045, allocations: 23.66 kB / 0.6623 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.2045, allocations: 21.7 kB / 0.6623 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2047, allocations: 315 kB / 0.6626 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.2047, allocations: 15.98 kB / 0.6626 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.716e-05/0.2048, allocations: 15.98 kB / 0.6626 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.2049, allocations: 40.73 kB / 0.6626 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2049, allocations: 0 / 0.6626 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000124/0.205, allocations: 69.67 kB / 0.6627 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.205, allocations: 7.938 kB / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.205, allocations: 0 / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2051, allocations: 0 / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.2051, allocations: 16 kB / 0.6627 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2052, allocations: 3.938 kB / 0.6627 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.2052, allocations: 8 kB / 0.6627 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2052, allocations: 0 / 0.6627 GB, free: 6.793 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 (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 8.572e-05/0.2053, allocations: 118.6 kB / 0.6629 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.2053, allocations: 7.844 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.2055, allocations: 81.95 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2055, allocations: 0 / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2055, allocations: 4 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2055, allocations: 192 / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2057, allocations: 169.7 kB / 0.6631 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2057, allocations: 0 / 0.6631 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.2058, allocations: 19.92 kB / 0.6631 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2058, allocations: 3.938 kB / 0.6631 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2058, allocations: 0 / 0.6631 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2058, allocations: 4 kB / 0.6631 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2059, allocations: 0 / 0.6631 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.2061, allocations: 117.2 kB / 0.6632 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.2061, allocations: 84.95 kB / 0.6633 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2061, allocations: 4.031 kB / 0.6633 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.2062, allocations: 3.984 kB / 0.6633 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2062, allocations: 4 kB / 0.6633 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2062, allocations: 4 kB / 0.6633 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.2063, allocations: 79.28 kB / 0.6634 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.104e-06/0.2063, allocations: 0 / 0.6634 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002568/0.2065, allocations: 40.08 kB / 0.6635 GB, free: 5.949 MB / 0.4981 GB 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.0002405/0.2068, allocations: 127.2 kB / 0.6636 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.207, allocations: 39.97 kB / 0.6636 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.207, allocations: 0 / 0.6636 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.207, allocations: 23.94 kB / 0.6636 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.2072, allocations: 0 / 0.6636 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.2076, allocations: 139.8 kB / 0.6638 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2081, allocations: 0.6885 MB / 0.6644 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.2081, allocations: 11.88 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2082, allocations: 19.36 kB / 0.6645 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.2082, allocations: 0 / 0.6645 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.004055/0.2122, allocations: 0.8734 MB / 0.6653 GB, free: 3.988 MB / 0.4981 GB 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)