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.004764/0.004764, allocations: 99.02 kB / 15.73 MB, free: 6.5 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.001102/0.001102, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7803/0.7803, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.12 kB / 0.5814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4705, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00221/0.4728, allocations: 1.433 MB / 0.6611 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.4738, allocations: 0.7902 MB / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.4739, allocations: 5.094 kB / 0.6619 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.4739, allocations: 4.641 kB / 0.6619 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.474, allocations: 4.562 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.4744, allocations: 121.3 kB / 0.662 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.4745, allocations: 39.92 kB / 0.662 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.4746, allocations: 8.812 kB / 0.662 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.4746, allocations: 21.23 kB / 0.6621 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.4747, allocations: 21.23 kB / 0.6621 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.4747, allocations: 2.719 kB / 0.6621 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.4752, allocations: 313.5 kB / 0.6624 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.4752, allocations: 6.516 kB / 0.6624 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.4752, allocations: 17.34 kB / 0.6624 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.4756, allocations: 190.2 kB / 0.6626 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4756, allocations: 0 / 0.6626 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4756, allocations: 0 / 0.6626 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4756, allocations: 0.9375 kB / 0.6626 GB, free: 8.469 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.0004273/0.476, allocations: 383.1 kB / 0.6629 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4761, allocations: 9 kB / 0.663 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.4765, allocations: 64.02 kB / 0.663 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.4766, allocations: 181.5 kB / 0.6632 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4766, allocations: 5.938 kB / 0.6632 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4766, allocations: 1.938 kB / 0.6632 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.4769, allocations: 89.19 kB / 0.6633 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.4769, allocations: 0 / 0.6633 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4769, allocations: 1.031 kB / 0.6633 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4769, allocations: 0 / 0.6633 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.4773, allocations: 88.25 kB / 0.6634 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.4778, allocations: 313.2 kB / 0.6637 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.4781, allocations: 90.97 kB / 0.6638 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.4783, allocations: 51.56 kB / 0.6638 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4783, allocations: 1.094 kB / 0.6638 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4784, allocations: 34.56 kB / 0.6638 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4784, allocations: 1.312 kB / 0.6638 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006829/0.4791, allocations: 165 kB / 0.664 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.4791, allocations: 51.41 kB / 0.664 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.4791, allocations: 104.2 kB / 0.6641 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.4792, allocations: 29.7 kB / 0.6642 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.4792, allocations: 85.55 kB / 0.6643 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.4792, allocations: 5.297 kB / 0.6643 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.4793, allocations: 17.55 kB / 0.6643 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.4793, allocations: 314.8 kB / 0.6646 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4795, allocations: 46.11 kB / 0.6646 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4797, allocations: 42.08 kB / 0.6647 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.4801, allocations: 93.3 kB / 0.6647 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4801, allocations: 0 / 0.6647 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004169/0.4805, allocations: 136.6 kB / 0.6649 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4805, allocations: 4.906 kB / 0.6649 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4805, allocations: 0 / 0.6649 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4805, allocations: 1.344 kB / 0.6649 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4807, allocations: 21.19 kB / 0.6649 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4807, allocations: 0 / 0.6649 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.4808, allocations: 22.81 kB / 0.6649 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4809, allocations: 5.281 kB / 0.6649 GB, free: 6.359 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 4.962e-05/0.4809, allocations: 111.2 kB / 0.665 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.4809, allocations: 1.375 kB / 0.665 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.481, allocations: 8.781 kB / 0.665 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.481, allocations: 0 / 0.665 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.481, allocations: 5.281 kB / 0.6651 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.481, allocations: 0 / 0.6651 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.4811, allocations: 173.6 kB / 0.6652 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4811, allocations: 4 kB / 0.6652 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4813, allocations: 22.03 kB / 0.6652 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4813, allocations: 3.938 kB / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4813, allocations: 1.406 kB / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4813, allocations: 0 / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4813, allocations: 1.656 kB / 0.6652 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.4817, allocations: 235 kB / 0.6655 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.4818, allocations: 77.11 kB / 0.6655 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.4818, allocations: 1.438 kB / 0.6655 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.4819, allocations: 17.91 kB / 0.6656 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.482, allocations: 5.453 kB / 0.6656 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.482, allocations: 5.141 kB / 0.6656 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.482, allocations: 83.91 kB / 0.6657 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.482, allocations: 0 / 0.6657 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002383/0.4823, allocations: 18.19 kB / 0.6657 GB, free: 5.613 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.0001529/0.4824, allocations: 107.9 kB / 0.6658 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.4829, allocations: 98.28 kB / 0.6659 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4829, allocations: 0 / 0.6659 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.4831, allocations: 48.67 kB / 0.6659 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.4834, allocations: 16.77 kB / 0.6659 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.4839, allocations: 155.3 kB / 0.6661 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.484, allocations: 0.6733 MB / 0.6667 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.484, allocations: 15.88 kB / 0.6668 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.4841, allocations: 13.62 kB / 0.6668 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.4841, allocations: 0 / 0.6668 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002653/0.4867, allocations: 0.8181 MB / 0.6676 GB, free: 4.168 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)