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.001005/0.001006, allocations: 92 kB / 15.36 MB, free: 0.7383 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.009901/0.009901, allocations: 170.2 kB / 16.26 MB, free: 6.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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.76/0.76, allocations: 132.3 MB / 423.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4411, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.001415/0.4426, allocations: 1.161 MB / 0.5848 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.4437, allocations: 0.7989 MB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.4438, allocations: 1 kB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.435e-05/0.4438, allocations: 0.6562 kB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.4438, allocations: 6.438 kB / 0.5856 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.4442, allocations: 101.2 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.4443, allocations: 31.36 kB / 0.5857 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.4444, allocations: 11.33 kB / 0.5857 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.4444, allocations: 13.02 kB / 0.5857 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.4445, allocations: 17.58 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4445, allocations: 5.719 kB / 0.5858 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.445, allocations: 321.6 kB / 0.5861 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.445, allocations: 3.234 kB / 0.5861 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.4451, allocations: 39.16 kB / 0.5861 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.4454, allocations: 193.5 kB / 0.5863 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4454, allocations: 0.8438 kB / 0.5863 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4454, allocations: 0 / 0.5863 GB, free: 2.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.4454, allocations: 0.9062 kB / 0.5863 GB, free: 2.363 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.0004526/0.4459, allocations: 380.9 kB / 0.5867 GB, free: 1.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4459, allocations: 8.625 kB / 0.5867 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.4464, allocations: 78.67 kB / 0.5867 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.4465, allocations: 171.8 kB / 0.5869 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.4466, allocations: 1.812 kB / 0.5869 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4466, allocations: 384 / 0.5869 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.4469, allocations: 101.7 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4469, allocations: 0 / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4469, allocations: 1.062 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4469, allocations: 0.7031 kB / 0.587 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.4474, allocations: 118.8 kB / 0.5871 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.4479, allocations: 301.2 kB / 0.5874 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.4483, allocations: 114.7 kB / 0.5875 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.4486, allocations: 66.05 kB / 0.5876 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.4486, allocations: 0.6562 kB / 0.5876 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.4486, allocations: 32.44 kB / 0.5876 GB, free: 1.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4486, allocations: 3.938 kB / 0.5876 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008432/0.4495, allocations: 200.7 kB / 0.5878 GB, free: 1.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.4495, allocations: 56.53 kB / 0.5879 GB, free: 1.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.4496, allocations: 99.22 kB / 0.588 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4496, allocations: 25.7 kB / 0.588 GB, free: 1.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.4496, allocations: 90.25 kB / 0.5881 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4497, allocations: 5.875 kB / 0.5881 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.4497, allocations: 13.66 kB / 0.5881 GB, free: 0.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.4498, allocations: 317.1 kB / 0.5884 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.45, allocations: 57 kB / 0.5884 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.4502, allocations: 57.94 kB / 0.5885 GB, free: 0.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.4507, allocations: 122.3 kB / 0.5886 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4507, allocations: 1.922 kB / 0.5886 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000506/0.4512, allocations: 148.2 kB / 0.5888 GB, free: 0.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4512, allocations: 6.234 kB / 0.5888 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4512, allocations: 4.031 kB / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4513, allocations: 0 / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.4514, allocations: 26.5 kB / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.4515, allocations: 0.6562 kB / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4516, allocations: 30.27 kB / 0.5888 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4516, allocations: 2.484 kB / 0.5888 GB, free: 0.5312 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.482e-05/0.4517, allocations: 111.9 kB / 0.5889 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.4517, allocations: 5.109 kB / 0.5889 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.4517, allocations: 9.641 kB / 0.5889 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4518, allocations: 0 / 0.5889 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4518, allocations: 6.141 kB / 0.589 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4518, allocations: 4 kB / 0.589 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4519, allocations: 180.4 kB / 0.5891 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4519, allocations: 0 / 0.5891 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.4521, allocations: 26.06 kB / 0.5892 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4521, allocations: 0.5625 kB / 0.5892 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4521, allocations: 1.922 kB / 0.5892 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4521, allocations: 0.7188 kB / 0.5892 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4521, allocations: 4.75 kB / 0.5892 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.4527, allocations: 244.1 kB / 0.5894 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.4527, allocations: 83.64 kB / 0.5895 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4527, allocations: 0.625 kB / 0.5895 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.4529, allocations: 22.53 kB / 0.5895 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.453, allocations: 2.266 kB / 0.5895 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.453, allocations: 2.172 kB / 0.5895 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.453, allocations: 89.23 kB / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.694e-06/0.453, allocations: 0 / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4533, allocations: 15.38 kB / 0.5896 GB, free: 15.85 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.0001773/0.4535, allocations: 113.2 kB / 0.5897 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.454, allocations: 121.6 kB / 0.5898 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4541, allocations: 0 / 0.5898 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.4543, allocations: 60.91 kB / 0.5899 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4546, allocations: 7.438 kB / 0.5899 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.4552, allocations: 174.2 kB / 0.5901 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.4554, allocations: 0.6803 MB / 0.5907 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.162e-05/0.4555, allocations: 11.95 kB / 0.5907 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.4556, allocations: 10.81 kB / 0.5907 GB, free: 14.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4556, allocations: 3.938 kB / 0.5907 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Templates: time 0.003101/0.4587, allocations: 0.7174 MB / 0.5914 GB, free: 14.81 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)