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.001264/0.001264, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.53 kB / 0.5018 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4223, allocations: 80.2 MB / 0.5801 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0016/0.424, allocations: 0.5944 MB / 0.5807 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.4243, allocations: 150.5 kB / 0.5808 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.4243, allocations: 0.5 kB / 0.5808 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.4244, allocations: 5.188 kB / 0.5808 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.897e-05/0.4244, allocations: 0 / 0.5808 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.4247, allocations: 38.91 kB / 0.5809 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.4247, allocations: 16.98 kB / 0.5809 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.4248, allocations: 7.297 kB / 0.5809 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.4248, allocations: 7.703 kB / 0.5809 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.4248, allocations: 12 kB / 0.5809 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.4249, allocations: 5.5 kB / 0.5809 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.4249, allocations: 32.12 kB / 0.5809 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.425, allocations: 7.047 kB / 0.581 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.425, allocations: 6.812 kB / 0.581 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.682e-05/0.4251, allocations: 34.72 kB / 0.581 GB, free: 4.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4251, allocations: 0 / 0.581 GB, free: 4.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4251, allocations: 0.9062 kB / 0.581 GB, free: 4.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.4251, allocations: 0 / 0.581 GB, free: 4.227 MB / 430.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.0002625/0.4254, allocations: 340.1 kB / 0.5813 GB, free: 3.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.4254, allocations: 10.06 kB / 0.5813 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.4254, allocations: 2.312 kB / 0.5813 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.06e-05/0.4255, allocations: 163.1 kB / 0.5815 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.4255, allocations: 1.594 kB / 0.5815 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.4255, allocations: 2.438 kB / 0.5815 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.4256, allocations: 49.86 kB / 0.5815 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4257, allocations: 0.8438 kB / 0.5815 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4257, allocations: 9.312 kB / 0.5815 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4257, allocations: 4 kB / 0.5816 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.4257, allocations: 16 kB / 0.5816 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.4258, allocations: 160.4 kB / 0.5817 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.4259, allocations: 48.88 kB / 0.5818 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.426, allocations: 19.44 kB / 0.5818 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.4261, allocations: 80.33 kB / 0.5819 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.4261, allocations: 35.73 kB / 0.5819 GB, free: 3.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.4261, allocations: 0.8125 kB / 0.5819 GB, free: 3.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001073/0.4272, allocations: 489.3 kB / 0.5824 GB, free: 2.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.4272, allocations: 52.34 kB / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.4272, allocations: 92.88 kB / 0.5825 GB, free: 2.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.4272, allocations: 26.39 kB / 0.5825 GB, free: 2.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.149e-05/0.4273, allocations: 85.17 kB / 0.5826 GB, free: 2.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.4273, allocations: 28.59 kB / 0.5826 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.4273, allocations: 21.11 kB / 0.5827 GB, free: 2.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.5e-05/0.4274, allocations: 317.3 kB / 0.583 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.4274, allocations: 13.58 kB / 0.583 GB, free: 2.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.4274, allocations: 12.88 kB / 0.583 GB, free: 2.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.4275, allocations: 39.45 kB / 0.583 GB, free: 2.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4275, allocations: 0 / 0.583 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.429e-05/0.4276, allocations: 72.33 kB / 0.5831 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4276, allocations: 8.938 kB / 0.5831 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4276, allocations: 4.75 kB / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4276, allocations: 0.875 kB / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.4277, allocations: 13.75 kB / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4277, allocations: 0 / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.4278, allocations: 0.875 kB / 0.5831 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4278, allocations: 2.609 kB / 0.5831 GB, free: 2.098 MB / 430.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.427e-05/0.4278, allocations: 114.9 kB / 0.5832 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.4278, allocations: 4.812 kB / 0.5832 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.428, allocations: 97.89 kB / 0.5833 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.428, allocations: 1.062 kB / 0.5833 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.428, allocations: 0.6562 kB / 0.5833 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.428, allocations: 0.5625 kB / 0.5833 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.4281, allocations: 163.2 kB / 0.5835 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4281, allocations: 0 / 0.5835 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.856e-05/0.4282, allocations: 17.47 kB / 0.5835 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4282, allocations: 8.938 kB / 0.5835 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.4282, allocations: 1.422 kB / 0.5835 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4282, allocations: 4.781 kB / 0.5835 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4282, allocations: 0 / 0.5835 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4284, allocations: 122.8 kB / 0.5836 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.4284, allocations: 83.78 kB / 0.5837 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.4285, allocations: 4.562 kB / 0.5837 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.4285, allocations: 2.703 kB / 0.5837 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.4285, allocations: 4.391 kB / 0.5837 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.4286, allocations: 2.906 kB / 0.5837 GB, free: 1.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.825e-05/0.4286, allocations: 81.06 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4286, allocations: 0 / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.4288, allocations: 33.45 kB / 0.5838 GB, free: 1.418 MB / 430.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.0002028/0.429, allocations: 123.5 kB / 0.584 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.4292, allocations: 46 kB / 0.584 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4292, allocations: 0 / 0.584 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.4292, allocations: 25.59 kB / 0.584 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.4294, allocations: 13.27 kB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.4297, allocations: 140.5 kB / 0.5842 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.4298, allocations: 0.6837 MB / 0.5848 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.4298, allocations: 9.453 kB / 0.5848 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.4298, allocations: 19.98 kB / 0.5849 GB, free: 460 kB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4298, allocations: 0 / 0.5849 GB, free: 460 kB / 430.1 MB Notification: Performance of Templates: time 0.003133/0.433, allocations: 0.8598 MB / 0.5857 GB, free: 376 kB / 430.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)