Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00125/0.00125, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7834/0.7834, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.66 kB / 0.5013 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5108, allocations: 80.2 MB / 0.5796 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002043/0.5129, allocations: 0.6411 MB / 0.5802 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004956/0.5134, allocations: 178.9 kB / 0.5804 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.154e-05/0.5134, allocations: 0 / 0.5804 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.5135, allocations: 4 kB / 0.5804 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.5135, allocations: 0.9375 kB / 0.5804 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.5139, allocations: 52.16 kB / 0.5805 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.382e-05/0.514, allocations: 6.219 kB / 0.5805 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.514, allocations: 1.344 kB / 0.5805 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.5141, allocations: 1.312 kB / 0.5805 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.091e-05/0.5141, allocations: 4 kB / 0.5805 GB, free: 4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.5141, allocations: 0.6562 kB / 0.5805 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.5143, allocations: 58.34 kB / 0.5805 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.5143, allocations: 5.156 kB / 0.5805 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.5143, allocations: 0 / 0.5805 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.5145, allocations: 37.06 kB / 0.5806 GB, free: 3.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5145, allocations: 0.6562 kB / 0.5806 GB, free: 3.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5145, allocations: 0 / 0.5806 GB, free: 3.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.5145, allocations: 0 / 0.5806 GB, free: 3.969 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000279/0.5148, allocations: 326 kB / 0.5809 GB, free: 3.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5149, allocations: 8.875 kB / 0.5809 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.5149, allocations: 5.75 kB / 0.5809 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.515, allocations: 161.4 kB / 0.581 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.515, allocations: 1.344 kB / 0.581 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.515, allocations: 5.156 kB / 0.5811 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5151, allocations: 33.27 kB / 0.5811 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5151, allocations: 4.172 kB / 0.5811 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5151, allocations: 3.938 kB / 0.5811 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5152, allocations: 0.6875 kB / 0.5811 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.5152, allocations: 2.234 kB / 0.5811 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.5153, allocations: 151 kB / 0.5812 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.994e-05/0.5154, allocations: 21.11 kB / 0.5813 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.5154, allocations: 9.953 kB / 0.5813 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.5161, allocations: 450.2 kB / 0.5817 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.5162, allocations: 36.52 kB / 0.5817 GB, free: 2.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5162, allocations: 0 / 0.5817 GB, free: 2.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002039/0.5164, allocations: 39 kB / 0.5818 GB, free: 2.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.5164, allocations: 57.09 kB / 0.5818 GB, free: 2.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.537e-05/0.5165, allocations: 90.42 kB / 0.5819 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.5165, allocations: 25.7 kB / 0.5819 GB, free: 2.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.5165, allocations: 80.14 kB / 0.582 GB, free: 2.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.5165, allocations: 5.672 kB / 0.582 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.5166, allocations: 15.84 kB / 0.582 GB, free: 2.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.5166, allocations: 317 kB / 0.5823 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.5167, allocations: 0 / 0.5823 GB, free: 1.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.5167, allocations: 1.531 kB / 0.5823 GB, free: 1.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.5167, allocations: 7.312 kB / 0.5823 GB, free: 1.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5167, allocations: 0.7188 kB / 0.5823 GB, free: 1.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.261e-05/0.5168, allocations: 40.16 kB / 0.5824 GB, free: 1.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.5168, allocations: 8.641 kB / 0.5824 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5168, allocations: 3.938 kB / 0.5824 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5168, allocations: 4.438 kB / 0.5824 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.5169, allocations: 6.078 kB / 0.5824 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5169, allocations: 1.156 kB / 0.5824 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.5169, allocations: 0 / 0.5824 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.5169, allocations: 1.438 kB / 0.5824 GB, free: 1.906 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 (1): * Single equations (assignments): 1 * 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.229e-05/0.517, allocations: 111.4 kB / 0.5825 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.517, allocations: 1.094 kB / 0.5825 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.5171, allocations: 39 kB / 0.5826 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5171, allocations: 0.75 kB / 0.5826 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5171, allocations: 5.062 kB / 0.5826 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5171, allocations: 4.594 kB / 0.5826 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.643e-05/0.5172, allocations: 143.9 kB / 0.5827 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5172, allocations: 0.9688 kB / 0.5827 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.5172, allocations: 2.516 kB / 0.5827 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5172, allocations: 0 / 0.5827 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.5172, allocations: 13.64 kB / 0.5827 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5173, allocations: 0 / 0.5827 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5173, allocations: 0 / 0.5827 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.147e-05/0.5173, allocations: 58.17 kB / 0.5828 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.5174, allocations: 77.86 kB / 0.5828 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.5174, allocations: 6.141 kB / 0.5828 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.5174, allocations: 0 / 0.5828 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.5174, allocations: 0.6094 kB / 0.5829 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5174, allocations: 0.6562 kB / 0.5829 GB, free: 1.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.647e-05/0.5174, allocations: 79.97 kB / 0.5829 GB, free: 1.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5174, allocations: 0 / 0.5829 GB, free: 1.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.5177, allocations: 11.97 kB / 0.5829 GB, free: 1.301 MB / 430.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 (1): * Single equations (assignments): 1 * 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.0002326/0.5179, allocations: 122.8 kB / 0.5831 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.518, allocations: 8.516 kB / 0.5831 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.518, allocations: 0 / 0.5831 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.518, allocations: 2.562 kB / 0.5831 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.5182, allocations: 7.766 kB / 0.5831 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001833/0.5184, allocations: 75.45 kB / 0.5831 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5185, allocations: 0.6725 MB / 0.5838 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.112e-05/0.5185, allocations: 0 / 0.5838 GB, free: 416 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.5185, allocations: 8.156 kB / 0.5838 GB, free: 408 kB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5185, allocations: 0 / 0.5838 GB, free: 408 kB / 430.1 MB Notification: Performance of Templates: time 0.002888/0.5214, allocations: 408.9 kB / 0.5842 GB, free: 340 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)