Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7095/0.7095, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 404.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.8 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001066, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1533, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002549/0.1558, allocations: 1.485 MB / 0.6436 GB, free: 3.949 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.1564, allocations: 257.5 kB / 0.6438 GB, free: 3.695 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.1564, allocations: 4 kB / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1565, allocations: 0 / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.1565, allocations: 3.938 kB / 0.6438 GB, free: 3.688 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1568, allocations: 47.89 kB / 0.6439 GB, free: 3.641 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.658e-05/0.1569, allocations: 15.98 kB / 0.6439 GB, free: 3.625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.1569, allocations: 8 kB / 0.6439 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.157, allocations: 11.92 kB / 0.6439 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.157, allocations: 8 kB / 0.6439 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.157, allocations: 3.938 kB / 0.6439 GB, free: 3.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1572, allocations: 63.88 kB / 0.644 GB, free: 3.531 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1572, allocations: 11.98 kB / 0.644 GB, free: 3.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.1572, allocations: 11.86 kB / 0.644 GB, free: 3.508 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1574, allocations: 51.88 kB / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1574, allocations: 0 / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1574, allocations: 0 / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1574, allocations: 0 / 0.6441 GB, free: 3.457 MB / 442.7 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.0004771/0.1579, allocations: 343.7 kB / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1579, allocations: 16.03 kB / 0.6444 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.158, allocations: 0.9375 kB / 0.6444 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1581, allocations: 172.3 kB / 0.6446 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1581, allocations: 4.359 kB / 0.6446 GB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1581, allocations: 384 / 0.6446 GB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1583, allocations: 50.19 kB / 0.6446 GB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1583, allocations: 192 / 0.6446 GB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1583, allocations: 3.938 kB / 0.6446 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1584, allocations: 0 / 0.6446 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1585, allocations: 39.95 kB / 0.6447 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.1589, allocations: 240.9 kB / 0.6449 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.159, allocations: 42.53 kB / 0.6449 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.1591, allocations: 20.91 kB / 0.645 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.1598, allocations: 461.4 kB / 0.6454 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1598, allocations: 34.56 kB / 0.6454 GB, free: 1.801 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1598, allocations: 0 / 0.6454 GB, free: 1.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003599/0.1602, allocations: 81.64 kB / 0.6455 GB, free: 1.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1602, allocations: 55.34 kB / 0.6456 GB, free: 1.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.1603, allocations: 97.86 kB / 0.6457 GB, free: 1.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1603, allocations: 29.7 kB / 0.6457 GB, free: 1.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.1604, allocations: 80.14 kB / 0.6458 GB, free: 1.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1604, allocations: 11.89 kB / 0.6458 GB, free: 1.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1604, allocations: 13.84 kB / 0.6458 GB, free: 1.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1605, allocations: 314.8 kB / 0.6461 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.1606, allocations: 19.92 kB / 0.6461 GB, free: 1.059 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.1607, allocations: 19.97 kB / 0.6461 GB, free: 1.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1609, allocations: 32.83 kB / 0.6462 GB, free: 1.004 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1609, allocations: 64 / 0.6462 GB, free: 1.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.1611, allocations: 77.59 kB / 0.6462 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1611, allocations: 5.562 kB / 0.6462 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1611, allocations: 0 / 0.6462 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1611, allocations: 0 / 0.6462 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.1612, allocations: 15.98 kB / 0.6463 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1612, allocations: 7.922 kB / 0.6463 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1613, allocations: 4 kB / 0.6463 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1613, allocations: 7.969 kB / 0.6463 GB, free: 0.8828 MB / 442.7 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.861e-05/0.1613, allocations: 115.1 kB / 0.6464 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1614, allocations: 3.906 kB / 0.6464 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.1616, allocations: 72.77 kB / 0.6465 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1616, allocations: 4 kB / 0.6465 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1616, allocations: 192 / 0.6465 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1616, allocations: 0 / 0.6465 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1618, allocations: 165.6 kB / 0.6466 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1618, allocations: 0 / 0.6466 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1619, allocations: 7.984 kB / 0.6466 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1619, allocations: 4 kB / 0.6466 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1619, allocations: 0 / 0.6466 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1619, allocations: 0 / 0.6466 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1619, allocations: 0 / 0.6466 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1624, allocations: 0.724 MB / 0.6473 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1625, allocations: 88.98 kB / 0.6474 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.1625, allocations: 0 / 0.6474 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.1626, allocations: 7.984 kB / 0.6474 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.1626, allocations: 3.938 kB / 0.6474 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1626, allocations: 3.938 kB / 0.6474 GB, free: 15.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1627, allocations: 87.3 kB / 0.6475 GB, free: 15.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1627, allocations: 0 / 0.6475 GB, free: 15.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.163, allocations: 23.91 kB / 0.6475 GB, free: 15.45 MB / 458.7 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.0002024/0.1632, allocations: 111.2 kB / 0.6476 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1634, allocations: 39.97 kB / 0.6477 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1634, allocations: 0 / 0.6477 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1635, allocations: 15.98 kB / 0.6477 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1637, allocations: 7.984 kB / 0.6477 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1641, allocations: 206.3 kB / 0.6479 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1643, allocations: 0.681 MB / 0.6486 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.1643, allocations: 3.984 kB / 0.6486 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.1644, allocations: 7.438 kB / 0.6486 GB, free: 14.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1644, allocations: 0 / 0.6486 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Templates: time 0.00234/0.1667, allocations: 0.5971 MB / 0.6492 GB, free: 13.71 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)