Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001155/0.001155, allocations: 103.6 kB / 16.41 MB, free: 6.512 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.001297/0.001297, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 71.03 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1491, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00278/0.152, allocations: 1.437 MB / 0.6617 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1532, allocations: 0.7992 MB / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.1532, allocations: 0 / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.1533, allocations: 0 / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.1533, allocations: 3.938 kB / 0.6625 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.1538, allocations: 127.4 kB / 0.6626 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.183e-05/0.1539, allocations: 35.91 kB / 0.6627 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.154, allocations: 11.98 kB / 0.6627 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.154, allocations: 11.98 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.1541, allocations: 19.92 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1541, allocations: 4 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.1546, allocations: 311.4 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1547, allocations: 15.97 kB / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1547, allocations: 7.938 kB / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.1551, allocations: 207.6 kB / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1551, allocations: 0 / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1551, allocations: 0 / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1551, allocations: 0 / 0.6632 GB, free: 7.324 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.00062/0.1558, allocations: 371.5 kB / 0.6636 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1558, allocations: 8.031 kB / 0.6636 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.1563, allocations: 72.84 kB / 0.6637 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1564, allocations: 164.3 kB / 0.6638 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1564, allocations: 4.375 kB / 0.6638 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1565, allocations: 4.375 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1568, allocations: 93.81 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1568, allocations: 0 / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1568, allocations: 3.938 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1568, allocations: 0 / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.1572, allocations: 91.89 kB / 0.664 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.1578, allocations: 300.8 kB / 0.6643 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.1582, allocations: 102.4 kB / 0.6644 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.1584, allocations: 48.88 kB / 0.6645 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1584, allocations: 3.984 kB / 0.6645 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1585, allocations: 34.56 kB / 0.6645 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.1585, allocations: 0 / 0.6645 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007828/0.1593, allocations: 165.7 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1593, allocations: 51.41 kB / 0.6647 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.1594, allocations: 101.8 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1594, allocations: 25.7 kB / 0.6648 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1595, allocations: 88.14 kB / 0.6649 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1596, allocations: 7.844 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.1596, allocations: 17.7 kB / 0.6649 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1597, allocations: 318.9 kB / 0.6652 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1599, allocations: 39.95 kB / 0.6653 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1601, allocations: 47.95 kB / 0.6653 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1605, allocations: 96.75 kB / 0.6654 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1605, allocations: 0 / 0.6654 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004478/0.161, allocations: 121.6 kB / 0.6655 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.161, allocations: 4 kB / 0.6655 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.161, allocations: 0 / 0.6655 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.161, allocations: 0 / 0.6655 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1612, allocations: 31.94 kB / 0.6656 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1612, allocations: 3.984 kB / 0.6656 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1613, allocations: 15.97 kB / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1614, allocations: 4 kB / 0.6656 GB, free: 4.707 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.051e-05/0.1614, allocations: 109.8 kB / 0.6657 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1615, allocations: 7.906 kB / 0.6657 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.1615, allocations: 11.06 kB / 0.6657 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1615, allocations: 4 kB / 0.6657 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1615, allocations: 3.984 kB / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1615, allocations: 4.234 kB / 0.6657 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1617, allocations: 169.6 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1617, allocations: 4 kB / 0.6659 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1618, allocations: 23.97 kB / 0.6659 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1619, allocations: 0 / 0.6659 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1619, allocations: 0 / 0.6659 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1619, allocations: 4 kB / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1619, allocations: 0 / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.1625, allocations: 227.3 kB / 0.6661 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.1625, allocations: 77.11 kB / 0.6662 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1626, allocations: 7.984 kB / 0.6662 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.1627, allocations: 11.98 kB / 0.6662 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1627, allocations: 12.02 kB / 0.6662 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1628, allocations: 0 / 0.6662 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.1628, allocations: 83.28 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1628, allocations: 0 / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.163, allocations: 12 kB / 0.6663 GB, free: 3.852 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.0001533/0.1632, allocations: 107.2 kB / 0.6664 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.1637, allocations: 91.91 kB / 0.6665 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1637, allocations: 0 / 0.6665 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.1639, allocations: 55.94 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1642, allocations: 12.72 kB / 0.6666 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.1648, allocations: 187 kB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.165, allocations: 0.6807 MB / 0.6674 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1651, allocations: 7.438 kB / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1651, allocations: 0 / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.002545/0.1676, allocations: 0.9025 MB / 0.6683 GB, free: 1.75 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)