Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 181.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.7078/0.7078, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.481/1.481, allocations: 222.9 MB / 404.7 MB, free: 6.082 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.001318/0.001318, allocations: 107.2 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1589, allocations: 80.43 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003088/0.162, allocations: 1.498 MB / 0.6436 GB, free: 3.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1635, allocations: 0.8124 MB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.1636, allocations: 0 / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.1636, allocations: 3.938 kB / 0.6444 GB, free: 3.074 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.1637, allocations: 4 kB / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1643, allocations: 104.7 kB / 0.6445 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.437e-05/0.1644, allocations: 35.91 kB / 0.6445 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.1645, allocations: 0 / 0.6445 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.1645, allocations: 23.92 kB / 0.6446 GB, free: 2.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.1646, allocations: 15.92 kB / 0.6446 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1646, allocations: 0 / 0.6446 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.1652, allocations: 315.3 kB / 0.6449 GB, free: 2.586 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.1652, allocations: 7.984 kB / 0.6449 GB, free: 2.578 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1652, allocations: 7.938 kB / 0.6449 GB, free: 2.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1656, allocations: 199.6 kB / 0.6451 GB, free: 2.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1656, allocations: 0 / 0.6451 GB, free: 2.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1656, allocations: 0 / 0.6451 GB, free: 2.375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1656, allocations: 0 / 0.6451 GB, free: 2.375 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.0006073/0.1662, allocations: 378.1 kB / 0.6454 GB, free: 1.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1663, allocations: 15.97 kB / 0.6455 GB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.1667, allocations: 72.75 kB / 0.6455 GB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1669, allocations: 168.3 kB / 0.6457 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.1669, allocations: 384 / 0.6457 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1669, allocations: 384 / 0.6457 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.1673, allocations: 89.94 kB / 0.6458 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1673, allocations: 4 kB / 0.6458 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1673, allocations: 0 / 0.6458 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1673, allocations: 0 / 0.6458 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.1677, allocations: 91.89 kB / 0.6459 GB, free: 1.484 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1683, allocations: 300.8 kB / 0.6461 GB, free: 1.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1687, allocations: 98.44 kB / 0.6462 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1689, allocations: 48.88 kB / 0.6463 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.169, allocations: 0 / 0.6463 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.169, allocations: 38.55 kB / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.169, allocations: 0 / 0.6463 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007408/0.1697, allocations: 169.4 kB / 0.6465 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1698, allocations: 51.41 kB / 0.6465 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.1699, allocations: 109.8 kB / 0.6466 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1699, allocations: 29.83 kB / 0.6467 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.17, allocations: 84.14 kB / 0.6467 GB, free: 476 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.17, allocations: 7.891 kB / 0.6468 GB, free: 468 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.17, allocations: 17.7 kB / 0.6468 GB, free: 444 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1702, allocations: 318.8 kB / 0.6471 GB, free: 116 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.1704, allocations: 43.95 kB / 0.6471 GB, free: 72 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.1706, allocations: 39.95 kB / 0.6472 GB, free: 32 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.171, allocations: 92.77 kB / 0.6472 GB, free: 15.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.171, allocations: 4 kB / 0.6472 GB, free: 15.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004651/0.1715, allocations: 121.5 kB / 0.6474 GB, free: 15.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1715, allocations: 12.03 kB / 0.6474 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1716, allocations: 0 / 0.6474 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1716, allocations: 0 / 0.6474 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1717, allocations: 23.97 kB / 0.6474 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1718, allocations: 0 / 0.6474 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1719, allocations: 24.22 kB / 0.6474 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1719, allocations: 0 / 0.6474 GB, free: 15.75 MB / 458.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 7.807e-05/0.172, allocations: 113.8 kB / 0.6475 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.172, allocations: 4 kB / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.1721, allocations: 7.125 kB / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1721, allocations: 0 / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1721, allocations: 4 kB / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1721, allocations: 3.984 kB / 0.6475 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1723, allocations: 173.5 kB / 0.6477 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1723, allocations: 0 / 0.6477 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1724, allocations: 23.97 kB / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1724, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1725, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1725, allocations: 4 kB / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1725, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.1734, allocations: 0.8136 MB / 0.6485 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1735, allocations: 77.11 kB / 0.6486 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1735, allocations: 0 / 0.6486 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1737, allocations: 23.97 kB / 0.6486 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1737, allocations: 11.81 kB / 0.6486 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1737, allocations: 7.984 kB / 0.6487 GB, free: 14.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.1738, allocations: 83.28 kB / 0.6487 GB, free: 14.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1738, allocations: 0 / 0.6487 GB, free: 14.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.1741, allocations: 8 kB / 0.6487 GB, free: 14.27 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.0001792/0.1743, allocations: 111.2 kB / 0.6488 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.1748, allocations: 91.91 kB / 0.6489 GB, free: 14.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1748, allocations: 4.062 kB / 0.6489 GB, free: 14.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1751, allocations: 43.95 kB / 0.649 GB, free: 14.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1754, allocations: 11.98 kB / 0.649 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.176, allocations: 262.1 kB / 0.6492 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1763, allocations: 0.6809 MB / 0.6499 GB, free: 13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.355e-05/0.1764, allocations: 8 kB / 0.6499 GB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1764, allocations: 11.44 kB / 0.6499 GB, free: 12.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1765, allocations: 0 / 0.6499 GB, free: 12.98 MB / 458.7 MB Notification: Performance of Templates: time 0.002863/0.1793, allocations: 0.7441 MB / 0.6506 GB, free: 12.24 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)