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.001112/0.001112, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00107/0.00107, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.25 kB / 0.5019 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 80.21 MB / 0.5802 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002853/0.3981, allocations: 1.492 MB / 0.5817 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3993, allocations: 0.7941 MB / 0.5825 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.3993, allocations: 0.8125 kB / 0.5825 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.3994, allocations: 4.609 kB / 0.5825 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.3994, allocations: 5.656 kB / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.4001, allocations: 105.6 kB / 0.5826 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.4002, allocations: 31.08 kB / 0.5826 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.4003, allocations: 13.34 kB / 0.5826 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.4003, allocations: 16.97 kB / 0.5826 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.4004, allocations: 21.31 kB / 0.5826 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4004, allocations: 2.469 kB / 0.5826 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.401, allocations: 320.3 kB / 0.5829 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.401, allocations: 3.953 kB / 0.583 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.4011, allocations: 12.3 kB / 0.583 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4014, allocations: 142.4 kB / 0.5831 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4014, allocations: 1.469 kB / 0.5831 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4014, allocations: 0 / 0.5831 GB, free: 2.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4014, allocations: 1.312 kB / 0.5831 GB, free: 2.719 MB / 430.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.0005515/0.402, allocations: 378 kB / 0.5835 GB, free: 2.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.402, allocations: 9.938 kB / 0.5835 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.4025, allocations: 69.89 kB / 0.5835 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.4026, allocations: 163.1 kB / 0.5837 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4026, allocations: 1.219 kB / 0.5837 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4027, allocations: 2.719 kB / 0.5837 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.403, allocations: 94.05 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.403, allocations: 0 / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.403, allocations: 0.7031 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.403, allocations: 1.094 kB / 0.5838 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.4034, allocations: 92.22 kB / 0.5839 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.404, allocations: 307.3 kB / 0.5842 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4044, allocations: 93.14 kB / 0.5843 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.4046, allocations: 48.41 kB / 0.5843 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4046, allocations: 7.938 kB / 0.5843 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4046, allocations: 36.12 kB / 0.5843 GB, free: 1.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4047, allocations: 0 / 0.5843 GB, free: 1.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007263/0.4054, allocations: 160.9 kB / 0.5845 GB, free: 1.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.4054, allocations: 52.05 kB / 0.5846 GB, free: 1.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.4055, allocations: 111.4 kB / 0.5847 GB, free: 1.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.4055, allocations: 25.7 kB / 0.5847 GB, free: 1.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.4055, allocations: 89.91 kB / 0.5848 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.4056, allocations: 1.547 kB / 0.5848 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4056, allocations: 14.34 kB / 0.5848 GB, free: 1.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.4057, allocations: 317.2 kB / 0.5851 GB, free: 1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.4059, allocations: 46.7 kB / 0.5851 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4061, allocations: 45.92 kB / 0.5852 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.4065, allocations: 97.92 kB / 0.5853 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4065, allocations: 0 / 0.5853 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004431/0.407, allocations: 126.9 kB / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.407, allocations: 5.406 kB / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.407, allocations: 0.75 kB / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.407, allocations: 0 / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.4072, allocations: 21.84 kB / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4072, allocations: 0 / 0.5854 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4073, allocations: 21.41 kB / 0.5854 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4074, allocations: 0.875 kB / 0.5854 GB, free: 0.9023 MB / 430.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 5.977e-05/0.4074, allocations: 116.2 kB / 0.5855 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.4075, allocations: 2.875 kB / 0.5856 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.4075, allocations: 8.656 kB / 0.5856 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4075, allocations: 0.7188 kB / 0.5856 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4075, allocations: 0 / 0.5856 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4075, allocations: 5.344 kB / 0.5856 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.4077, allocations: 179.2 kB / 0.5857 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4077, allocations: 1.781 kB / 0.5857 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.4078, allocations: 19.7 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4078, allocations: 1.75 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.4079, allocations: 0.5625 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4079, allocations: 1.531 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4079, allocations: 0.8125 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.4083, allocations: 226.6 kB / 0.586 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.4084, allocations: 78.41 kB / 0.5861 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.4084, allocations: 2.078 kB / 0.5861 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4086, allocations: 20.11 kB / 0.5861 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.4086, allocations: 7.031 kB / 0.5861 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4086, allocations: 2.484 kB / 0.5861 GB, free: 312 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.4087, allocations: 92.77 kB / 0.5862 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4087, allocations: 0 / 0.5862 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.4089, allocations: 14.91 kB / 0.5862 GB, free: 220 kB / 430.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.000159/0.4091, allocations: 105.5 kB / 0.5863 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4096, allocations: 96.31 kB / 0.5864 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4096, allocations: 1.031 kB / 0.5864 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.4098, allocations: 49.45 kB / 0.5864 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4101, allocations: 7.484 kB / 0.5864 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.4108, allocations: 196.9 kB / 0.5866 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.411, allocations: 0.6762 MB / 0.5873 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.4111, allocations: 14.72 kB / 0.5873 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4111, allocations: 1.438 kB / 0.5873 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002861/0.4139, allocations: 0.889 MB / 0.5882 GB, free: 15.18 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)