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.005454/0.005454, allocations: 102.2 kB / 15.73 MB, free: 6.484 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.001082/0.001082, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7872/0.7872, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.14 kB / 0.5814 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4869, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002643/0.4895, allocations: 1.441 MB / 0.6611 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4908, allocations: 0.7901 MB / 0.6619 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.4909, allocations: 1.625 kB / 0.6619 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.4909, allocations: 7.875 kB / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.491, allocations: 8.547 kB / 0.6619 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.4915, allocations: 117.8 kB / 0.662 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.4916, allocations: 40.3 kB / 0.662 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.4917, allocations: 7.688 kB / 0.662 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.4917, allocations: 17.5 kB / 0.662 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.4918, allocations: 25.25 kB / 0.6621 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.4918, allocations: 3.938 kB / 0.6621 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.4923, allocations: 317.4 kB / 0.6624 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.4923, allocations: 5.312 kB / 0.6624 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.4924, allocations: 18.22 kB / 0.6624 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.4927, allocations: 189.3 kB / 0.6626 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4927, allocations: 0 / 0.6626 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4927, allocations: 0 / 0.6626 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.4927, allocations: 0 / 0.6626 GB, free: 8.438 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.0004166/0.4931, allocations: 384.5 kB / 0.6629 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4932, allocations: 8.562 kB / 0.663 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.4936, allocations: 65.02 kB / 0.663 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.4937, allocations: 166.6 kB / 0.6632 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4937, allocations: 12.3 kB / 0.6632 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4938, allocations: 2.594 kB / 0.6632 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.494, allocations: 84.38 kB / 0.6633 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4941, allocations: 0 / 0.6633 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4941, allocations: 1.562 kB / 0.6633 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.4941, allocations: 0 / 0.6633 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4945, allocations: 96 kB / 0.6634 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.4949, allocations: 305.8 kB / 0.6637 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4953, allocations: 97.06 kB / 0.6637 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.4955, allocations: 46.97 kB / 0.6638 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4955, allocations: 0 / 0.6638 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4955, allocations: 35.97 kB / 0.6638 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.4955, allocations: 0 / 0.6638 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0006457/0.4962, allocations: 169 kB / 0.664 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.4962, allocations: 51.41 kB / 0.664 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.311e-05/0.4962, allocations: 104.3 kB / 0.6641 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-06/0.4963, allocations: 31.08 kB / 0.6642 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.4963, allocations: 81.48 kB / 0.6642 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.4963, allocations: 7.906 kB / 0.6642 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.4964, allocations: 17.58 kB / 0.6643 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.4964, allocations: 312.4 kB / 0.6646 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4966, allocations: 44.98 kB / 0.6646 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.4968, allocations: 46.23 kB / 0.6646 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.4971, allocations: 100.5 kB / 0.6647 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4972, allocations: 0 / 0.6647 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003974/0.4976, allocations: 125.5 kB / 0.6649 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4976, allocations: 11.56 kB / 0.6649 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4976, allocations: 0 / 0.6649 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4976, allocations: 0 / 0.6649 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.4978, allocations: 21.97 kB / 0.6649 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.4978, allocations: 0 / 0.6649 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4979, allocations: 22.47 kB / 0.6649 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4979, allocations: 1.344 kB / 0.6649 GB, free: 6.344 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 5.025e-05/0.498, allocations: 120.1 kB / 0.665 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.498, allocations: 5.281 kB / 0.665 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.498, allocations: 4.656 kB / 0.665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.498, allocations: 0 / 0.665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.498, allocations: 0 / 0.665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.498, allocations: 0 / 0.665 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.4982, allocations: 178.6 kB / 0.6652 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4982, allocations: 7.938 kB / 0.6652 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.4983, allocations: 21.38 kB / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4983, allocations: 0 / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4983, allocations: 1.406 kB / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4983, allocations: 0 / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4983, allocations: 1.312 kB / 0.6652 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.4988, allocations: 222.7 kB / 0.6655 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.4988, allocations: 82.55 kB / 0.6655 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4988, allocations: 0 / 0.6655 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4989, allocations: 18.62 kB / 0.6656 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.499, allocations: 5.406 kB / 0.6656 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.499, allocations: 5.422 kB / 0.6656 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.345e-05/0.499, allocations: 80.28 kB / 0.6656 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.499, allocations: 0 / 0.6656 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002415/0.4993, allocations: 13.78 kB / 0.6657 GB, free: 5.605 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.0001327/0.4994, allocations: 115.7 kB / 0.6658 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.4998, allocations: 90.41 kB / 0.6659 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4998, allocations: 0 / 0.6659 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.5, allocations: 53.05 kB / 0.6659 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5003, allocations: 16.64 kB / 0.6659 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.5008, allocations: 166.5 kB / 0.6661 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.5009, allocations: 0.6731 MB / 0.6667 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.137e-05/0.501, allocations: 16.25 kB / 0.6667 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.501, allocations: 8.812 kB / 0.6668 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.501, allocations: 7.875 kB / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.002624/0.5036, allocations: 0.8108 MB / 0.6676 GB, free: 4.156 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)