Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") translateModel(IDEAS.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001159/0.001159, allocations: 191.5 kB / 16.14 MB, free: 6.648 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9712/0.9712, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 72.44 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002875/0.1739, allocations: 1.53 MB / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.1742, allocations: 124.4 kB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.1743, allocations: 4 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.1743, allocations: 0 / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.1744, allocations: 11.92 kB / 0.5853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.1746, allocations: 15.98 kB / 0.5853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.1746, allocations: 39.86 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.755e-05/0.1747, allocations: 15.98 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.1748, allocations: 11.92 kB / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.1748, allocations: 23.92 kB / 0.5854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1749, allocations: 0 / 0.5854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.1749, allocations: 19.98 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.175, allocations: 19.91 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.175, allocations: 19.88 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.1751, allocations: 51.8 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1752, allocations: 0 / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1752, allocations: 7.938 kB / 0.5855 GB, free: 3.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1752, allocations: 0 / 0.5855 GB, free: 3.094 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.0005999/0.1758, allocations: 371.5 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1758, allocations: 12.03 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1759, allocations: 8.844 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.176, allocations: 176.3 kB / 0.5861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.176, allocations: 4.375 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.176, allocations: 4.312 kB / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1763, allocations: 74.22 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1763, allocations: 192 / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1763, allocations: 7.922 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1763, allocations: 0 / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1766, allocations: 83.91 kB / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.177, allocations: 280.9 kB / 0.5865 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1772, allocations: 74.41 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1774, allocations: 44.91 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.1776, allocations: 109.1 kB / 0.5867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1777, allocations: 30.56 kB / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.1777, allocations: 4 kB / 0.5868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005484/0.1782, allocations: 141.6 kB / 0.5869 GB, free: 1.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1783, allocations: 55.34 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1784, allocations: 132.7 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1784, allocations: 33.7 kB / 0.5871 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1785, allocations: 92.08 kB / 0.5872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1785, allocations: 11.89 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1785, allocations: 13.72 kB / 0.5872 GB, free: 1.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1787, allocations: 314.8 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.1788, allocations: 39.95 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.179, allocations: 35.97 kB / 0.5876 GB, free: 0.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1793, allocations: 80.77 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1793, allocations: 3.938 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003437/0.1796, allocations: 117.5 kB / 0.5878 GB, free: 0.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1797, allocations: 6.188 kB / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1797, allocations: 3.938 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1797, allocations: 4 kB / 0.5878 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1798, allocations: 15.97 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1798, allocations: 0 / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.1799, allocations: 11.98 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1799, allocations: 0 / 0.5878 GB, free: 0.5039 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 (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 0.0001007/0.18, allocations: 121.8 kB / 0.588 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1801, allocations: 7.906 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.1805, allocations: 121.5 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1805, allocations: 3.938 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1805, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1805, allocations: 0 / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1807, allocations: 193.7 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1807, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1809, allocations: 15.98 kB / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1809, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1809, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1809, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1809, allocations: 0 / 0.5883 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1813, allocations: 215.8 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1814, allocations: 81.02 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1814, allocations: 3.984 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1815, allocations: 15.98 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1815, allocations: 0 / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1816, allocations: 4 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.1816, allocations: 103.2 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1816, allocations: 0 / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002357/0.1819, allocations: 12 kB / 0.5887 GB, free: 15.51 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 (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.0001839/0.1821, allocations: 99.19 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1824, allocations: 75.92 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1824, allocations: 4 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1826, allocations: 43.95 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1829, allocations: 11.03 kB / 0.5889 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.1833, allocations: 179 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1836, allocations: 0.6888 MB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.1836, allocations: 4 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.1837, allocations: 7.438 kB / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1837, allocations: 0 / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002884/0.1866, allocations: 0.6566 MB / 0.5904 GB, free: 13.7 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)