Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001616/0.001617, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9917/0.9917, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003402, allocations: 11.94 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 82.32 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002039/0.1884, allocations: 1.189 MB / 0.5885 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003719/0.1888, allocations: 104.6 kB / 0.5886 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.1888, allocations: 4 kB / 0.5886 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.1889, allocations: 7.922 kB / 0.5887 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.189, allocations: 7.938 kB / 0.5887 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1893, allocations: 11.98 kB / 0.5887 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1894, allocations: 39.86 kB / 0.5887 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1895, allocations: 7.984 kB / 0.5887 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.1896, allocations: 15.98 kB / 0.5887 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.1897, allocations: 19.86 kB / 0.5887 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1897, allocations: 4 kB / 0.5888 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.1898, allocations: 19.98 kB / 0.5888 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1898, allocations: 19.91 kB / 0.5888 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.1899, allocations: 33.7 kB / 0.5888 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.19, allocations: 31.94 kB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.19, allocations: 0 / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.19, allocations: 0 / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.19, allocations: 0 / 0.5889 GB, free: 1.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006507/0.1907, allocations: 395.3 kB / 0.5892 GB, free: 1.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1908, allocations: 8.031 kB / 0.5892 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.1908, allocations: 7.906 kB / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.191, allocations: 171 kB / 0.5894 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.191, allocations: 0 / 0.5894 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.191, allocations: 4 kB / 0.5894 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1913, allocations: 89.64 kB / 0.5895 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1913, allocations: 0 / 0.5895 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1914, allocations: 0 / 0.5895 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1914, allocations: 0 / 0.5895 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.1917, allocations: 95.92 kB / 0.5896 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.1921, allocations: 296.7 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1923, allocations: 78.53 kB / 0.5899 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1925, allocations: 52.92 kB / 0.59 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.1927, allocations: 105.1 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1928, allocations: 34.56 kB / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1928, allocations: 0 / 0.5901 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005685/0.1934, allocations: 185.5 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1934, allocations: 51.41 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1936, allocations: 125.8 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1936, allocations: 25.7 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.1937, allocations: 104 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.1937, allocations: 3.906 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1937, allocations: 0 / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1939, allocations: 326.8 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.194, allocations: 43.97 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1941, allocations: 47.95 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1943, allocations: 43.97 kB / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1943, allocations: 0 / 0.591 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003014/0.1946, allocations: 141.5 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1946, allocations: 8 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1946, allocations: 0 / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1947, allocations: 4.328 kB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1948, allocations: 19.92 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.1948, allocations: 11.98 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.1949, allocations: 11.98 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1949, allocations: 11.95 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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 0.0001128/0.195, allocations: 113.8 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1951, allocations: 0 / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.1955, allocations: 157.3 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1955, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1955, allocations: 0 / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1955, allocations: 4 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1957, allocations: 181.6 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1957, allocations: 0 / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.1958, allocations: 23.98 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1958, allocations: 0 / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1958, allocations: 0 / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1958, allocations: 4 kB / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1958, allocations: 0 / 0.5917 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1962, allocations: 227.4 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.1962, allocations: 81.02 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1962, allocations: 4 kB / 0.592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.1964, allocations: 19.97 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1964, allocations: 7.938 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1964, allocations: 0 / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.1965, allocations: 103.1 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1965, allocations: 0 / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002213/0.1967, allocations: 15.98 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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.000152/0.1969, allocations: 99.25 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1972, allocations: 99.92 kB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1972, allocations: 4 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1974, allocations: 47.95 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1976, allocations: 19.89 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.198, allocations: 164.5 kB / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1983, allocations: 0.6926 MB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.1984, allocations: 4 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.1984, allocations: 11.44 kB / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1984, allocations: 0 / 0.5933 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.00309/0.2015, allocations: 0.6438 MB / 0.5939 GB, free: 12.05 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)