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.00119/0.001191, allocations: 109 kB / 16.37 MB, free: 6.012 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.001185/0.001185, allocations: 195 kB / 17.31 MB, free: 5.617 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.348/1.348, 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/package.mo): time 0.8002/0.8002, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 71.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.352, allocations: 80.17 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002238/0.3543, allocations: 1.426 MB / 0.5829 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.3553, allocations: 0.8027 MB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.3553, allocations: 2.75 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3554, allocations: 0 / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.3554, allocations: 3.938 kB / 0.5837 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.3558, allocations: 132 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.3559, allocations: 38.62 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.356, allocations: 16.06 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.356, allocations: 14.7 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.3561, allocations: 23.45 kB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3561, allocations: 3.344 kB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.3565, allocations: 314.4 kB / 0.5842 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3565, allocations: 8.5 kB / 0.5842 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.3566, allocations: 10.78 kB / 0.5842 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3568, allocations: 204.7 kB / 0.5844 GB, free: 25.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3569, allocations: 5.484 kB / 0.5844 GB, free: 25.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3569, allocations: 0.5938 kB / 0.5844 GB, free: 25.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3569, allocations: 0.5 kB / 0.5844 GB, free: 25.43 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.0004817/0.3574, allocations: 373.8 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3574, allocations: 12.59 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00047/0.3579, allocations: 70.84 kB / 0.5849 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.358, allocations: 163.1 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.358, allocations: 384 / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.358, allocations: 1.656 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.3583, allocations: 92.88 kB / 0.5851 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3584, allocations: 0 / 0.5851 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3584, allocations: 5.531 kB / 0.5851 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3584, allocations: 1.375 kB / 0.5851 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.3588, allocations: 86.66 kB / 0.5852 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3593, allocations: 300.5 kB / 0.5855 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.3596, allocations: 95.06 kB / 0.5856 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3598, allocations: 49.25 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3598, allocations: 7.125 kB / 0.5856 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.3599, allocations: 34.55 kB / 0.5856 GB, free: 24.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3599, allocations: 0 / 0.5856 GB, free: 24.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000655/0.3605, allocations: 163.5 kB / 0.5858 GB, free: 24.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3606, allocations: 52.44 kB / 0.5859 GB, free: 24.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.711e-05/0.3606, allocations: 105.4 kB / 0.586 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3606, allocations: 26.58 kB / 0.586 GB, free: 24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.3607, allocations: 89.27 kB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3607, allocations: 6.281 kB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3607, allocations: 17.02 kB / 0.5861 GB, free: 23.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.3608, allocations: 316.8 kB / 0.5864 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3609, allocations: 43.23 kB / 0.5864 GB, free: 23.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3611, allocations: 43.67 kB / 0.5865 GB, free: 23.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3615, allocations: 94.61 kB / 0.5866 GB, free: 23.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3615, allocations: 0 / 0.5866 GB, free: 23.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003874/0.3619, allocations: 125.7 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3619, allocations: 7.875 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3619, allocations: 0 / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3619, allocations: 1.844 kB / 0.5867 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3621, allocations: 30.88 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3621, allocations: 1.031 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3622, allocations: 20 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3622, allocations: 1.219 kB / 0.5867 GB, free: 23.41 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 5.41e-05/0.3623, allocations: 112.3 kB / 0.5869 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3623, allocations: 7.375 kB / 0.5869 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3623, allocations: 8.25 kB / 0.5869 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3623, allocations: 0 / 0.5869 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3624, allocations: 5.438 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3624, allocations: 3.984 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.3625, allocations: 173.5 kB / 0.587 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3625, allocations: 1.094 kB / 0.587 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3626, allocations: 22.88 kB / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3626, allocations: 0 / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3627, allocations: 2.188 kB / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3627, allocations: 0 / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3627, allocations: 1.906 kB / 0.5871 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.3631, allocations: 228.5 kB / 0.5873 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3631, allocations: 78.58 kB / 0.5874 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3632, allocations: 3.984 kB / 0.5874 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3633, allocations: 16.39 kB / 0.5874 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3633, allocations: 9.375 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3634, allocations: 2.312 kB / 0.5874 GB, free: 22.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.3634, allocations: 83 kB / 0.5875 GB, free: 22.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3634, allocations: 0.7188 kB / 0.5875 GB, free: 22.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3636, allocations: 10.78 kB / 0.5875 GB, free: 22.68 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.0001578/0.3638, allocations: 109.7 kB / 0.5876 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.3643, allocations: 94.66 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3643, allocations: 0 / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.3645, allocations: 54.12 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3647, allocations: 7.25 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.3653, allocations: 159 kB / 0.5879 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3654, allocations: 0.6773 MB / 0.5885 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3655, allocations: 9.906 kB / 0.5886 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3655, allocations: 14.06 kB / 0.5886 GB, free: 21.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3655, allocations: 0.5 kB / 0.5886 GB, free: 21.69 MB / 446.1 MB Notification: Performance of Templates: time 0.003179/0.3687, allocations: 0.8134 MB / 0.5894 GB, free: 21.29 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)