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.00151/0.00151, allocations: 108.5 kB / 16.36 MB, free: 6.285 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.001887/0.001887, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3921, allocations: 80.18 MB / 0.5815 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003609/0.3957, allocations: 1.431 MB / 0.5829 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3973, allocations: 0.8029 MB / 0.5837 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.3974, allocations: 4.75 kB / 0.5837 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.3975, allocations: 1.094 kB / 0.5837 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.3976, allocations: 6.969 kB / 0.5837 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.3982, allocations: 125.9 kB / 0.5838 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.141e-05/0.3983, allocations: 31.89 kB / 0.5838 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3984, allocations: 7.391 kB / 0.5838 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.3985, allocations: 14.41 kB / 0.5838 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.3986, allocations: 22.66 kB / 0.5839 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3986, allocations: 3.875 kB / 0.5839 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.3993, allocations: 321.4 kB / 0.5842 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3993, allocations: 5.188 kB / 0.5842 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3994, allocations: 15.2 kB / 0.5842 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.3998, allocations: 196.5 kB / 0.5844 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3998, allocations: 1.281 kB / 0.5844 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3998, allocations: 0.5938 kB / 0.5844 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3998, allocations: 1.031 kB / 0.5844 GB, free: 25.77 MB / 446.1 MB 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.0005476/0.4004, allocations: 380.6 kB / 0.5847 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4004, allocations: 10.28 kB / 0.5848 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/0.4009, allocations: 64.61 kB / 0.5848 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.401, allocations: 171 kB / 0.585 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.401, allocations: 2.344 kB / 0.585 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.401, allocations: 2.75 kB / 0.585 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.4013, allocations: 84.25 kB / 0.5851 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4014, allocations: 0 / 0.5851 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4014, allocations: 7.938 kB / 0.5851 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4014, allocations: 2.312 kB / 0.5851 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.4018, allocations: 86.78 kB / 0.5852 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.4023, allocations: 302.5 kB / 0.5855 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.4027, allocations: 97.47 kB / 0.5855 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4029, allocations: 48.44 kB / 0.5856 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4029, allocations: 2.062 kB / 0.5856 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.4029, allocations: 37.31 kB / 0.5856 GB, free: 24.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.403, allocations: 1.125 kB / 0.5856 GB, free: 24.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007034/0.4037, allocations: 168.7 kB / 0.5858 GB, free: 24.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4037, allocations: 55 kB / 0.5858 GB, free: 24.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.4038, allocations: 108.2 kB / 0.5859 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.4038, allocations: 25.7 kB / 0.586 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.4039, allocations: 81.23 kB / 0.586 GB, free: 24.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4039, allocations: 9.281 kB / 0.5861 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.4039, allocations: 16.95 kB / 0.5861 GB, free: 24.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.404, allocations: 313.4 kB / 0.5864 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4042, allocations: 47.89 kB / 0.5864 GB, free: 23.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4044, allocations: 43.89 kB / 0.5865 GB, free: 23.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4048, allocations: 98.2 kB / 0.5866 GB, free: 23.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4048, allocations: 0 / 0.5866 GB, free: 23.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004331/0.4052, allocations: 121.7 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4052, allocations: 5.188 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4052, allocations: 0 / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4053, allocations: 1.156 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.4054, allocations: 22.78 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4055, allocations: 1.594 kB / 0.5867 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.4056, allocations: 24.25 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.4056, allocations: 4 kB / 0.5867 GB, free: 23.73 MB / 446.1 MB 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 6.251e-05/0.4056, allocations: 113.7 kB / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.4057, allocations: 1.406 kB / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.4057, allocations: 8.75 kB / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.4057, allocations: 1.406 kB / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4057, allocations: 0 / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4057, allocations: 0 / 0.5868 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.4059, allocations: 182.3 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4059, allocations: 1.438 kB / 0.587 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.406, allocations: 23.78 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.406, allocations: 1.062 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4061, allocations: 5.594 kB / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4061, allocations: 0 / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4061, allocations: 0 / 0.587 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.4065, allocations: 219.8 kB / 0.5873 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.4066, allocations: 78.98 kB / 0.5873 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4066, allocations: 5.438 kB / 0.5873 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4067, allocations: 23.62 kB / 0.5874 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.4068, allocations: 5.281 kB / 0.5874 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4068, allocations: 1.219 kB / 0.5874 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.4068, allocations: 89.05 kB / 0.5875 GB, free: 23.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4068, allocations: 0 / 0.5875 GB, free: 23.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.4071, allocations: 15.81 kB / 0.5875 GB, free: 23 MB / 446.1 MB 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.0001844/0.4073, allocations: 107.9 kB / 0.5876 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.4077, allocations: 91.19 kB / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4078, allocations: 0 / 0.5877 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.408, allocations: 49.8 kB / 0.5877 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4083, allocations: 19.39 kB / 0.5877 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.4088, allocations: 160.3 kB / 0.5879 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.409, allocations: 0.675 MB / 0.5885 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.234e-05/0.409, allocations: 9.125 kB / 0.5885 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.4091, allocations: 14.2 kB / 0.5886 GB, free: 22.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4091, allocations: 0 / 0.5886 GB, free: 22.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003321/0.4124, allocations: 0.8105 MB / 0.5893 GB, free: 21.62 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)