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.001063/0.001063, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.001133/0.001133, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.002325/0.3758, allocations: 1.485 MB / 0.5872 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002666/0.376, allocations: 110 kB / 0.5873 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.3761, allocations: 2.406 kB / 0.5873 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.3761, allocations: 3.938 kB / 0.5873 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.3762, allocations: 10.55 kB / 0.5873 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3764, allocations: 21.47 kB / 0.5874 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.3765, allocations: 46.05 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.3766, allocations: 10.05 kB / 0.5874 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.3766, allocations: 22.73 kB / 0.5874 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.3767, allocations: 16.77 kB / 0.5874 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3767, allocations: 4.062 kB / 0.5875 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.3768, allocations: 20.86 kB / 0.5875 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.3768, allocations: 20 kB / 0.5875 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.3769, allocations: 24.02 kB / 0.5875 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.377, allocations: 51.5 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.377, allocations: 1.062 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.377, allocations: 0.9062 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.377, allocations: 0 / 0.5876 GB, free: 24.09 MB / 446.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.0004248/0.3774, allocations: 385.2 kB / 0.5879 GB, free: 23.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3775, allocations: 13.89 kB / 0.5879 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3775, allocations: 3.594 kB / 0.5879 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.125e-05/0.3776, allocations: 176.6 kB / 0.5881 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3776, allocations: 3.438 kB / 0.5881 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3776, allocations: 5.844 kB / 0.5881 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3778, allocations: 77.11 kB / 0.5882 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3779, allocations: 192 / 0.5882 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3779, allocations: 3.938 kB / 0.5882 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3779, allocations: 1.406 kB / 0.5882 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3781, allocations: 74.23 kB / 0.5883 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.3784, allocations: 289.7 kB / 0.5886 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3786, allocations: 69.53 kB / 0.5886 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3787, allocations: 40.2 kB / 0.5887 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.3789, allocations: 113 kB / 0.5888 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.379, allocations: 37 kB / 0.5888 GB, free: 22.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.379, allocations: 3.938 kB / 0.5888 GB, free: 22.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004895/0.3795, allocations: 148.7 kB / 0.5889 GB, free: 22.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.3795, allocations: 57.41 kB / 0.589 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.3796, allocations: 126.4 kB / 0.5891 GB, free: 22.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.3796, allocations: 25.7 kB / 0.5891 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.3796, allocations: 90.61 kB / 0.5892 GB, free: 22.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3797, allocations: 9.984 kB / 0.5892 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.3797, allocations: 12.66 kB / 0.5893 GB, free: 22.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.3797, allocations: 319.2 kB / 0.5896 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3799, allocations: 37.86 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.38, allocations: 38.7 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.3802, allocations: 80.59 kB / 0.5897 GB, free: 22.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3802, allocations: 3.938 kB / 0.5897 GB, free: 22.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002699/0.3805, allocations: 112.5 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3805, allocations: 5.406 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3805, allocations: 1.156 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3805, allocations: 1.578 kB / 0.5898 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3807, allocations: 18.53 kB / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3807, allocations: 0 / 0.5898 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.3808, allocations: 20.36 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3808, allocations: 1.219 kB / 0.5899 GB, free: 21.99 MB / 446.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 5.031e-05/0.3808, allocations: 116.3 kB / 0.59 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3809, allocations: 14.77 kB / 0.59 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3812, allocations: 122.7 kB / 0.5901 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3812, allocations: 2.594 kB / 0.5901 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3812, allocations: 4 kB / 0.5901 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3812, allocations: 0 / 0.5901 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3813, allocations: 181 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3814, allocations: 0 / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.3814, allocations: 17.45 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3815, allocations: 0 / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3815, allocations: 3.984 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3815, allocations: 1.594 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3815, allocations: 1.625 kB / 0.5903 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3818, allocations: 214.8 kB / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.3818, allocations: 88.94 kB / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3818, allocations: 0 / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.3819, allocations: 11.98 kB / 0.5906 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.382, allocations: 0 / 0.5906 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.382, allocations: 5.625 kB / 0.5906 GB, free: 21.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.567e-05/0.382, allocations: 106.8 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.382, allocations: 0 / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.3822, allocations: 11.94 kB / 0.5907 GB, free: 21.13 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 (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.0001096/0.3824, allocations: 96.91 kB / 0.5908 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.3826, allocations: 86.94 kB / 0.5909 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3827, allocations: 0 / 0.5909 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3828, allocations: 39.91 kB / 0.5909 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.383, allocations: 12.53 kB / 0.591 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3833, allocations: 150.2 kB / 0.5911 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.3834, allocations: 0.6857 MB / 0.5918 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.3835, allocations: 5.625 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3835, allocations: 7.438 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3835, allocations: 0 / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of Templates: time 0.002616/0.3861, allocations: 0.7995 MB / 0.5926 GB, free: 19.23 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)