Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001069/0.001069, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001048/0.001048, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3569, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002369/0.3593, allocations: 1.43 MB / 0.5872 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3604, allocations: 0.7968 MB / 0.5879 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.3604, allocations: 3.938 kB / 0.5879 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.3604, allocations: 3.938 kB / 0.5879 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.3605, allocations: 6.062 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.3609, allocations: 124.2 kB / 0.5881 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.361, allocations: 38.69 kB / 0.5881 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.3611, allocations: 11.42 kB / 0.5881 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.3611, allocations: 14.39 kB / 0.5881 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.3612, allocations: 19.77 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3612, allocations: 3.188 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.3616, allocations: 314.5 kB / 0.5885 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3617, allocations: 8.859 kB / 0.5885 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3617, allocations: 10.69 kB / 0.5885 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.362, allocations: 205.4 kB / 0.5887 GB, free: 23.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.362, allocations: 0 / 0.5887 GB, free: 23.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.362, allocations: 1.344 kB / 0.5887 GB, free: 23.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.362, allocations: 0.9062 kB / 0.5887 GB, free: 23.35 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.0004168/0.3624, allocations: 374.4 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3625, allocations: 10.67 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.3629, allocations: 71.47 kB / 0.5891 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.363, allocations: 167.1 kB / 0.5893 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3631, allocations: 2.125 kB / 0.5893 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3631, allocations: 1.875 kB / 0.5893 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.3634, allocations: 87.44 kB / 0.5894 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3634, allocations: 1 kB / 0.5894 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3634, allocations: 1.125 kB / 0.5894 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.3635, allocations: 1.594 kB / 0.5894 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.3638, allocations: 99.11 kB / 0.5895 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.3643, allocations: 301.9 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.3646, allocations: 95.47 kB / 0.5898 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3648, allocations: 50.33 kB / 0.5899 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3648, allocations: 4.594 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3649, allocations: 35.69 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3649, allocations: 0 / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006513/0.3655, allocations: 169.2 kB / 0.5901 GB, free: 21.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.3656, allocations: 51.41 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.354e-05/0.3656, allocations: 97.86 kB / 0.5902 GB, free: 21.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3656, allocations: 29.7 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.3657, allocations: 89.27 kB / 0.5903 GB, free: 21.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3657, allocations: 3.984 kB / 0.5903 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3657, allocations: 15.28 kB / 0.5904 GB, free: 21.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.3658, allocations: 314.8 kB / 0.5907 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.3659, allocations: 46.23 kB / 0.5907 GB, free: 21.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3661, allocations: 50.5 kB / 0.5907 GB, free: 21.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.3665, allocations: 92.55 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3665, allocations: 3.938 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003731/0.3669, allocations: 126.5 kB / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3669, allocations: 4 kB / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3669, allocations: 0 / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3669, allocations: 4.531 kB / 0.591 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3671, allocations: 21.56 kB / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3671, allocations: 0 / 0.591 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3672, allocations: 22.19 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3672, allocations: 0 / 0.591 GB, free: 20.96 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 4.969e-05/0.3673, allocations: 111.4 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.3673, allocations: 4 kB / 0.5911 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.3674, allocations: 11.77 kB / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3674, allocations: 2.219 kB / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3674, allocations: 0 / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3674, allocations: 0 / 0.5911 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3675, allocations: 177.5 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3675, allocations: 0 / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3677, allocations: 25.5 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3677, allocations: 3.938 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3677, allocations: 3.984 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3677, allocations: 1.062 kB / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3677, allocations: 0 / 0.5913 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.3681, allocations: 216 kB / 0.5915 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3681, allocations: 90.62 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3682, allocations: 4.234 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3683, allocations: 16.48 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3684, allocations: 8.859 kB / 0.5917 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3684, allocations: 0 / 0.5917 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.191e-05/0.3684, allocations: 84.28 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3684, allocations: 0 / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000236/0.3687, allocations: 12.59 kB / 0.5917 GB, free: 20.12 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.0001518/0.3688, allocations: 108.3 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3692, allocations: 99.72 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3693, allocations: 0.8125 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3695, allocations: 50.72 kB / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3698, allocations: 3.938 kB / 0.592 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.3703, allocations: 159.1 kB / 0.5922 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.3704, allocations: 0.6806 MB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.3705, allocations: 11.41 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3705, allocations: 7.438 kB / 0.5928 GB, free: 18.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3705, allocations: 0 / 0.5928 GB, free: 18.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002721/0.3733, allocations: 0.8235 MB / 0.5936 GB, free: 18.17 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)