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.001281/0.001281, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.0009949/0.0009949, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 69.67 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002641/0.1421, allocations: 1.423 MB / 0.6617 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1434, allocations: 0.8069 MB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.1434, allocations: 0 / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1435, allocations: 3.938 kB / 0.6625 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.1435, allocations: 3.984 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.144, allocations: 123.5 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.1441, allocations: 35.86 kB / 0.6627 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.1442, allocations: 4 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1442, allocations: 15.98 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.1443, allocations: 19.91 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1443, allocations: 4 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1448, allocations: 323.3 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1448, allocations: 4 kB / 0.663 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1448, allocations: 11.92 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1451, allocations: 203.6 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1452, allocations: 0 / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1452, allocations: 0 / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1452, allocations: 0 / 0.6632 GB, free: 7.277 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.0005323/0.1457, allocations: 371.5 kB / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1458, allocations: 11.97 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.1462, allocations: 68.84 kB / 0.6637 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1464, allocations: 168.3 kB / 0.6638 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.1464, allocations: 4.375 kB / 0.6638 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1464, allocations: 4.375 kB / 0.6638 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1467, allocations: 81.94 kB / 0.6639 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1468, allocations: 7.922 kB / 0.6639 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1468, allocations: 4 kB / 0.6639 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1468, allocations: 3.938 kB / 0.6639 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.1472, allocations: 87.91 kB / 0.664 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.1477, allocations: 304.7 kB / 0.6643 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.1481, allocations: 102.5 kB / 0.6644 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1484, allocations: 48.88 kB / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1484, allocations: 0 / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1484, allocations: 34.56 kB / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1484, allocations: 0 / 0.6645 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007436/0.1492, allocations: 173.6 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1492, allocations: 51.41 kB / 0.6647 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.1493, allocations: 101.8 kB / 0.6648 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1493, allocations: 25.7 kB / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.1494, allocations: 84.14 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1494, allocations: 11.89 kB / 0.6649 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.1494, allocations: 13.72 kB / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1495, allocations: 318.9 kB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.1498, allocations: 43.95 kB / 0.6653 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.15, allocations: 47.95 kB / 0.6653 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.1504, allocations: 92.77 kB / 0.6654 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1504, allocations: 0 / 0.6654 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004804/0.1509, allocations: 129.5 kB / 0.6655 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1509, allocations: 4 kB / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1509, allocations: 0 / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1509, allocations: 0 / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1511, allocations: 28 kB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1511, allocations: 0 / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1512, allocations: 15.98 kB / 0.6656 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1513, allocations: 4 kB / 0.6656 GB, free: 4.656 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 8.18e-05/0.1513, allocations: 113.8 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1514, allocations: 7.906 kB / 0.6657 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.1514, allocations: 7.125 kB / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1514, allocations: 256 / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1514, allocations: 0 / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1514, allocations: 7.938 kB / 0.6657 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1516, allocations: 173.6 kB / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1516, allocations: 0 / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1518, allocations: 23.97 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1518, allocations: 0 / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1518, allocations: 4 kB / 0.6659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1518, allocations: 4 kB / 0.6659 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1518, allocations: 3.938 kB / 0.6659 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.1523, allocations: 219.3 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.1524, allocations: 77.11 kB / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1524, allocations: 8 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1525, allocations: 15.97 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1526, allocations: 8.031 kB / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1526, allocations: 0 / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.1526, allocations: 83.27 kB / 0.6663 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 0 / 0.6663 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.1529, allocations: 16 kB / 0.6663 GB, free: 3.801 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.000141/0.153, allocations: 103.2 kB / 0.6664 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.1535, allocations: 95.83 kB / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1536, allocations: 0 / 0.6665 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.1538, allocations: 52.02 kB / 0.6666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1541, allocations: 11.92 kB / 0.6666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.1546, allocations: 187 kB / 0.6667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1549, allocations: 0.6768 MB / 0.6674 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.1549, allocations: 11.44 kB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.155, allocations: 4 kB / 0.6674 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of Templates: time 0.002345/0.1573, allocations: 0.9084 MB / 0.6683 GB, free: 1.695 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)