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.001262/0.001262, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001429/0.001429, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7834/0.7834, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 60.72 kB / 0.5013 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1907, allocations: 80.21 MB / 0.5796 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.002974/0.1937, allocations: 1.492 MB / 0.5811 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1951, allocations: 0.7953 MB / 0.5818 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1952, allocations: 0 / 0.5818 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.1952, allocations: 0 / 0.5818 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.1953, allocations: 0 / 0.5818 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.196, allocations: 107.7 kB / 0.5819 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.636e-05/0.1961, allocations: 39.91 kB / 0.582 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1962, allocations: 4 kB / 0.582 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.1962, allocations: 23.91 kB / 0.582 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.1963, allocations: 15.92 kB / 0.582 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1963, allocations: 4 kB / 0.582 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.1969, allocations: 319.4 kB / 0.5823 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.1969, allocations: 11.97 kB / 0.5823 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.197, allocations: 11.94 kB / 0.5823 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.1974, allocations: 191.7 kB / 0.5825 GB, free: 6.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1974, allocations: 0 / 0.5825 GB, free: 6.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1974, allocations: 0 / 0.5825 GB, free: 6.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1974, allocations: 3.984 kB / 0.5825 GB, free: 6.117 MB / 494.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.0007067/0.1981, allocations: 373.4 kB / 0.5829 GB, free: 5.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1982, allocations: 8.031 kB / 0.5829 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/0.1987, allocations: 68.8 kB / 0.583 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1989, allocations: 172.3 kB / 0.5831 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.1989, allocations: 4.375 kB / 0.5831 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1989, allocations: 4.375 kB / 0.5831 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1993, allocations: 89.92 kB / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1993, allocations: 0 / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1993, allocations: 0 / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1993, allocations: 0 / 0.5832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.1997, allocations: 91.91 kB / 0.5833 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.2004, allocations: 304.7 kB / 0.5836 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.2008, allocations: 94.5 kB / 0.5837 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.201, allocations: 52.88 kB / 0.5837 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2011, allocations: 3.938 kB / 0.5837 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2011, allocations: 34.56 kB / 0.5838 GB, free: 4.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2011, allocations: 0 / 0.5838 GB, free: 4.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007312/0.2018, allocations: 173.6 kB / 0.5839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2019, allocations: 51.41 kB / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.202, allocations: 101.8 kB / 0.5841 GB, free: 4.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.202, allocations: 29.64 kB / 0.5841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.2021, allocations: 88.05 kB / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2021, allocations: 0 / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.2022, allocations: 21.7 kB / 0.5842 GB, free: 4.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.2024, allocations: 314.9 kB / 0.5845 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2026, allocations: 39.95 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2028, allocations: 51.95 kB / 0.5846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.2032, allocations: 93.02 kB / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2032, allocations: 0 / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004325/0.2037, allocations: 133.4 kB / 0.5848 GB, free: 3.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2037, allocations: 4 kB / 0.5848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2037, allocations: 0 / 0.5848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2037, allocations: 0 / 0.5848 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.2039, allocations: 28 kB / 0.5849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2039, allocations: 0 / 0.5849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.204, allocations: 15.97 kB / 0.5849 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2041, allocations: 7.984 kB / 0.5849 GB, free: 3.492 MB / 494.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 9.559e-05/0.2042, allocations: 113.8 kB / 0.585 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2042, allocations: 4 kB / 0.585 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.2042, allocations: 7.125 kB / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2043, allocations: 0 / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2043, allocations: 0 / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2043, allocations: 0 / 0.585 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.2045, allocations: 177.6 kB / 0.5852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2045, allocations: 0 / 0.5852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2046, allocations: 23.97 kB / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2046, allocations: 0 / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2046, allocations: 4 kB / 0.5852 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2046, allocations: 0 / 0.5852 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2046, allocations: 0 / 0.5852 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.2051, allocations: 223.3 kB / 0.5854 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.2052, allocations: 81.02 kB / 0.5855 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2052, allocations: 4 kB / 0.5855 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2054, allocations: 20 kB / 0.5855 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.2054, allocations: 8 kB / 0.5855 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.2054, allocations: 7.922 kB / 0.5855 GB, free: 2.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.2056, allocations: 83.22 kB / 0.5856 GB, free: 2.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2056, allocations: 0 / 0.5856 GB, free: 2.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.2059, allocations: 12 kB / 0.5856 GB, free: 2.641 MB / 494.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.0002138/0.2061, allocations: 107.2 kB / 0.5857 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.2066, allocations: 95.84 kB / 0.5858 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2066, allocations: 0 / 0.5858 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2068, allocations: 52 kB / 0.5859 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2072, allocations: 11.94 kB / 0.5859 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.2078, allocations: 165.5 kB / 0.586 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2081, allocations: 0.6768 MB / 0.5867 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.445e-05/0.2082, allocations: 12 kB / 0.5867 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.2083, allocations: 7.438 kB / 0.5867 GB, free: 1.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2083, allocations: 0 / 0.5867 GB, free: 1.461 MB / 494.1 MB Notification: Performance of Templates: time 0.003234/0.2115, allocations: 0.7641 MB / 0.5875 GB, free: 0.7109 MB / 494.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)