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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008402, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008731/0.0008732, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9545/0.9545, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.94 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 82.32 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001528/0.1548, allocations: 1.148 MB / 0.5897 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1559, allocations: 0.7972 MB / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.156, allocations: 0 / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.156, allocations: 3.938 kB / 0.5905 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.156, allocations: 0 / 0.5905 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.1564, allocations: 103.7 kB / 0.5906 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.1564, allocations: 35.91 kB / 0.5907 GB, free: 496 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.1565, allocations: 3.984 kB / 0.5907 GB, free: 492 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.1566, allocations: 19.92 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.1566, allocations: 15.92 kB / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1567, allocations: 0 / 0.5907 GB, free: 456 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1571, allocations: 315.3 kB / 0.591 GB, free: 140 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1571, allocations: 8 kB / 0.591 GB, free: 132 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.1571, allocations: 37.62 kB / 0.591 GB, free: 88 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1574, allocations: 135.8 kB / 0.5912 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1574, allocations: 0 / 0.5912 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1574, allocations: 0 / 0.5912 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.1574, allocations: 0 / 0.5912 GB, free: 15.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004623/0.1578, allocations: 379.7 kB / 0.5915 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1579, allocations: 12.03 kB / 0.5915 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.1584, allocations: 80.84 kB / 0.5916 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1585, allocations: 168.3 kB / 0.5918 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1585, allocations: 384 / 0.5918 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1585, allocations: 384 / 0.5918 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1588, allocations: 105.9 kB / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.1588, allocations: 0 / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1589, allocations: 0 / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1589, allocations: 0 / 0.5919 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.1593, allocations: 119.9 kB / 0.592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.1598, allocations: 320.7 kB / 0.5923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.1602, allocations: 118.4 kB / 0.5924 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.1605, allocations: 56.88 kB / 0.5925 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1605, allocations: 4 kB / 0.5925 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1605, allocations: 38.55 kB / 0.5925 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1605, allocations: 0 / 0.5925 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007488/0.1613, allocations: 193.6 kB / 0.5927 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1613, allocations: 59.53 kB / 0.5928 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.1614, allocations: 101.8 kB / 0.5928 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1614, allocations: 25.7 kB / 0.5929 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1615, allocations: 92.08 kB / 0.593 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1615, allocations: 3.906 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.1615, allocations: 13.7 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.1616, allocations: 314.8 kB / 0.5933 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.1618, allocations: 55.95 kB / 0.5933 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1621, allocations: 59.95 kB / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.1625, allocations: 116.8 kB / 0.5935 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1625, allocations: 0 / 0.5935 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004934/0.163, allocations: 149.6 kB / 0.5936 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.163, allocations: 8 kB / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.163, allocations: 0 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1631, allocations: 0 / 0.5936 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1632, allocations: 35.94 kB / 0.5937 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1632, allocations: 0 / 0.5937 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1634, allocations: 31.86 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1634, allocations: 0 / 0.5937 GB, free: 13.12 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 (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.25e-05/0.1635, allocations: 109.8 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1635, allocations: 8 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.1635, allocations: 7.125 kB / 0.5938 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1635, allocations: 0 / 0.5938 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1635, allocations: 0 / 0.5938 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1636, allocations: 0 / 0.5938 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1637, allocations: 177.5 kB / 0.594 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1637, allocations: 4 kB / 0.594 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1639, allocations: 27.97 kB / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1639, allocations: 0 / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1639, allocations: 4 kB / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1639, allocations: 0 / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1639, allocations: 0 / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.1644, allocations: 247.3 kB / 0.5943 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1645, allocations: 81.11 kB / 0.5944 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1645, allocations: 0 / 0.5944 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1647, allocations: 31.94 kB / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1647, allocations: 256 / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1647, allocations: 0 / 0.5944 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.1648, allocations: 91.27 kB / 0.5945 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1648, allocations: 0 / 0.5945 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002381/0.165, allocations: 15.91 kB / 0.5945 GB, free: 12.24 MB / 0.4981 GB 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.0001396/0.1651, allocations: 106.4 kB / 0.5946 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.1656, allocations: 119.9 kB / 0.5947 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1657, allocations: 0 / 0.5947 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1659, allocations: 67.95 kB / 0.5948 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1662, allocations: 11.92 kB / 0.5948 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.1667, allocations: 202.4 kB / 0.595 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.167, allocations: 0.6809 MB / 0.5956 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.167, allocations: 7.438 kB / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.784e-06/0.167, allocations: 0 / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.002238/0.1693, allocations: 0.8795 MB / 0.5965 GB, free: 10.12 MB / 0.4981 GB 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)