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.001314/0.001314, allocations: 105.6 kB / 16.41 MB, free: 6.5 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.001479/0.001479, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7724/0.7724, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 64.34 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1854, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002693/0.1881, allocations: 1.477 MB / 0.6668 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.1885, allocations: 112.5 kB / 0.6669 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1885, allocations: 4 kB / 0.6669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.414e-05/0.1886, allocations: 3.938 kB / 0.6669 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.1887, allocations: 3.938 kB / 0.6669 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1889, allocations: 31.91 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.189, allocations: 35.92 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1891, allocations: 15.97 kB / 0.6669 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.1892, allocations: 19.92 kB / 0.667 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.1892, allocations: 15.92 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1893, allocations: 4 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.1893, allocations: 27.92 kB / 0.667 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1894, allocations: 15.92 kB / 0.667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1894, allocations: 23.86 kB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1896, allocations: 59.8 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1896, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1896, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.1896, allocations: 0 / 0.6671 GB, free: 3.938 MB / 0.4981 GB 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.000585/0.1902, allocations: 387.1 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1903, allocations: 17.05 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.1903, allocations: 4.844 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1905, allocations: 168.3 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1905, allocations: 8.375 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1905, allocations: 384 / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.1908, allocations: 74.2 kB / 0.6677 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1908, allocations: 4.125 kB / 0.6677 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1908, allocations: 7.938 kB / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1908, allocations: 0 / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1911, allocations: 79.92 kB / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1915, allocations: 284.9 kB / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1918, allocations: 66.47 kB / 0.6682 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1919, allocations: 48.86 kB / 0.6682 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.1922, allocations: 109.1 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1922, allocations: 34.56 kB / 0.6683 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1922, allocations: 3.938 kB / 0.6683 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005409/0.1928, allocations: 149.5 kB / 0.6685 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1928, allocations: 51.41 kB / 0.6685 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.1929, allocations: 125.8 kB / 0.6687 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.193, allocations: 25.7 kB / 0.6687 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.1931, allocations: 92.12 kB / 0.6688 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1931, allocations: 11.81 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.1931, allocations: 17.72 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1932, allocations: 318.8 kB / 0.6691 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1934, allocations: 39.91 kB / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1935, allocations: 35.95 kB / 0.6692 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.1938, allocations: 80.78 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1938, allocations: 3.938 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003157/0.1941, allocations: 109.6 kB / 0.6694 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1942, allocations: 4 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1942, allocations: 4 kB / 0.6694 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1942, allocations: 4 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1943, allocations: 15.98 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1943, allocations: 0 / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.1944, allocations: 11.98 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1944, allocations: 3.938 kB / 0.6694 GB, free: 1.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.1945, allocations: 121.8 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1945, allocations: 7.906 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.1949, allocations: 117.5 kB / 0.6696 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1949, allocations: 0 / 0.6696 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1949, allocations: 3.984 kB / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1949, allocations: 0 / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1951, allocations: 189.5 kB / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1951, allocations: 3.984 kB / 0.6698 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.1952, allocations: 11.98 kB / 0.6698 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1952, allocations: 8 kB / 0.6698 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1952, allocations: 0 / 0.6698 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1952, allocations: 0 / 0.6698 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1952, allocations: 3.938 kB / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.1956, allocations: 211.7 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.1956, allocations: 89.02 kB / 0.6701 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1957, allocations: 3.938 kB / 0.6701 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1958, allocations: 11.98 kB / 0.6702 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1958, allocations: 3.984 kB / 0.6702 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1958, allocations: 4 kB / 0.6702 GB, free: 472 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.1959, allocations: 102.6 kB / 0.6703 GB, free: 372 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1959, allocations: 0 / 0.6703 GB, free: 372 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002258/0.1961, allocations: 11.94 kB / 0.6703 GB, free: 360 kB / 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 (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.000143/0.1963, allocations: 104.6 kB / 0.6704 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.1966, allocations: 83.86 kB / 0.6704 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1966, allocations: 0 / 0.6704 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1968, allocations: 39.95 kB / 0.6705 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.197, allocations: 15.94 kB / 0.6705 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.1974, allocations: 179.2 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1976, allocations: 0.6846 MB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.1977, allocations: 11.44 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1977, allocations: 0 / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Templates: time 0.002369/0.2, allocations: 0.9052 MB / 0.6722 GB, free: 14.27 MB / 0.5137 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)