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.000809/0.0008127, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008573/0.0008573, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6474/0.6474, allocations: 132.4 MB / 423.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 12.56 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001068/0.3198, allocations: 1.149 MB / 0.5842 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.3206, allocations: 0.7365 MB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3207, allocations: 2.844 kB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.3207, allocations: 0.8906 kB / 0.5849 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.3207, allocations: 3.938 kB / 0.5849 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.321, allocations: 95.14 kB / 0.585 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.3211, allocations: 31.66 kB / 0.5851 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.3212, allocations: 7.203 kB / 0.5851 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3212, allocations: 13.86 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.3213, allocations: 16.42 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.3213, allocations: 2.438 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.3217, allocations: 310.3 kB / 0.5854 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.3217, allocations: 11.23 kB / 0.5854 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.3217, allocations: 27.02 kB / 0.5854 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.3219, allocations: 131.7 kB / 0.5855 GB, free: 2.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.3219, allocations: 0 / 0.5855 GB, free: 2.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3219, allocations: 0 / 0.5855 GB, free: 2.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.3219, allocations: 0.8125 kB / 0.5855 GB, free: 2.395 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.0003325/0.3223, allocations: 375.9 kB / 0.5859 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.3223, allocations: 14.52 kB / 0.5859 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.3227, allocations: 77.8 kB / 0.586 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.3227, allocations: 174.1 kB / 0.5862 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3228, allocations: 5.406 kB / 0.5862 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3228, allocations: 5.594 kB / 0.5862 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.323, allocations: 94.97 kB / 0.5863 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.3231, allocations: 0.9375 kB / 0.5863 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3231, allocations: 0 / 0.5863 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3231, allocations: 4.906 kB / 0.5863 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.3234, allocations: 119 kB / 0.5864 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.3238, allocations: 304.5 kB / 0.5867 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.3242, allocations: 122.8 kB / 0.5868 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.3243, allocations: 61.7 kB / 0.5868 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3244, allocations: 0.7188 kB / 0.5868 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.3244, allocations: 32.61 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3244, allocations: 0 / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000623/0.325, allocations: 203.9 kB / 0.5871 GB, free: 1.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.598e-05/0.325, allocations: 57.47 kB / 0.5871 GB, free: 1.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.3251, allocations: 106.2 kB / 0.5872 GB, free: 1.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.3251, allocations: 25.7 kB / 0.5873 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.3251, allocations: 82.72 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.3251, allocations: 8.609 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.3251, allocations: 1.281 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.126e-05/0.3252, allocations: 313.5 kB / 0.5876 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3254, allocations: 56.48 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.3255, allocations: 61.06 kB / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3257, allocations: 50.7 kB / 0.5878 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3257, allocations: 0.5938 kB / 0.5878 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003714/0.3261, allocations: 149.2 kB / 0.5879 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3261, allocations: 5.875 kB / 0.588 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.3261, allocations: 0 / 0.588 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3261, allocations: 1.281 kB / 0.588 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3263, allocations: 29.86 kB / 0.588 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3263, allocations: 0.7031 kB / 0.588 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.3264, allocations: 26.34 kB / 0.588 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3264, allocations: 5.594 kB / 0.588 GB, free: 0.5859 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3265, allocations: 117 kB / 0.5881 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.3265, allocations: 5.672 kB / 0.5881 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.3265, allocations: 8.656 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3265, allocations: 0 / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3265, allocations: 0.8438 kB / 0.5881 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3265, allocations: 4.641 kB / 0.5881 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3266, allocations: 176.3 kB / 0.5883 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3267, allocations: 0.9375 kB / 0.5883 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3268, allocations: 30.98 kB / 0.5883 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3268, allocations: 0 / 0.5883 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3268, allocations: 2.188 kB / 0.5883 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3268, allocations: 3.938 kB / 0.5883 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3268, allocations: 0 / 0.5883 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.3272, allocations: 244.1 kB / 0.5886 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3272, allocations: 79.73 kB / 0.5887 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3273, allocations: 0.9688 kB / 0.5887 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3274, allocations: 29.42 kB / 0.5887 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3274, allocations: 3.953 kB / 0.5887 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.3274, allocations: 1.375 kB / 0.5887 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.3275, allocations: 84.53 kB / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3275, allocations: 0 / 0.5888 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.3277, allocations: 16.94 kB / 0.5888 GB, free: 15.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001244/0.3278, allocations: 104.2 kB / 0.5889 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.3282, allocations: 117.1 kB / 0.589 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3282, allocations: 4.938 kB / 0.589 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3284, allocations: 55.95 kB / 0.5891 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3287, allocations: 16.16 kB / 0.5891 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.3291, allocations: 178 kB / 0.5892 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.3294, allocations: 0.6804 MB / 0.5899 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.3294, allocations: 15.53 kB / 0.5899 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3295, allocations: 11.52 kB / 0.5899 GB, free: 14.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3295, allocations: 0 / 0.5899 GB, free: 14.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002382/0.3319, allocations: 0.709 MB / 0.5906 GB, free: 14.86 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)