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.001069/0.001069, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001115/0.001115, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.5068 GB, free: 7.625 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3567, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Biquadratic): time 0.00261/0.3593, allocations: 1.474 MB / 0.5872 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.3596, allocations: 110 kB / 0.5873 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.3597, allocations: 1.812 kB / 0.5873 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.3597, allocations: 4.781 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.3598, allocations: 10.84 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.36, allocations: 23.78 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.3601, allocations: 42.66 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3602, allocations: 10.38 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.3603, allocations: 26.31 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.3604, allocations: 25.16 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3604, allocations: 4.656 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.3604, allocations: 19.83 kB / 0.5875 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.3605, allocations: 12.09 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.3605, allocations: 23.39 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3607, allocations: 61.61 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3607, allocations: 0 / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3607, allocations: 1.344 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3607, allocations: 0 / 0.5876 GB, free: 24.17 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.000464/0.3612, allocations: 382.4 kB / 0.5879 GB, free: 23.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3612, allocations: 10.02 kB / 0.5879 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3612, allocations: 5.031 kB / 0.588 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.478e-05/0.3613, allocations: 172.2 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3614, allocations: 1.688 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3614, allocations: 1.625 kB / 0.5881 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3616, allocations: 81.48 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3616, allocations: 1.594 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3616, allocations: 3.938 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3616, allocations: 1.125 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.3619, allocations: 77.36 kB / 0.5883 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.3622, allocations: 285.9 kB / 0.5885 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3624, allocations: 74.44 kB / 0.5886 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3626, allocations: 46.3 kB / 0.5887 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.3628, allocations: 107.2 kB / 0.5888 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3628, allocations: 31.62 kB / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3628, allocations: 0 / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000491/0.3633, allocations: 149.9 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3633, allocations: 59.92 kB / 0.589 GB, free: 22.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.3634, allocations: 122.1 kB / 0.5891 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.3634, allocations: 26.33 kB / 0.5891 GB, free: 22.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.3635, allocations: 94.75 kB / 0.5892 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.3635, allocations: 7.938 kB / 0.5892 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.3635, allocations: 19.41 kB / 0.5893 GB, free: 22.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.3636, allocations: 322.2 kB / 0.5896 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3637, allocations: 33.44 kB / 0.5896 GB, free: 22.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3639, allocations: 44.16 kB / 0.5896 GB, free: 22.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3641, allocations: 75.75 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3641, allocations: 5.375 kB / 0.5897 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002695/0.3644, allocations: 115.5 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3644, allocations: 5.25 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3644, allocations: 1.469 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3644, allocations: 1.625 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3646, allocations: 18.14 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3646, allocations: 1.062 kB / 0.5898 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.3646, allocations: 21.08 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3647, allocations: 1.219 kB / 0.5899 GB, free: 22.07 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 6.189e-05/0.3647, allocations: 122.6 kB / 0.59 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3648, allocations: 6.375 kB / 0.59 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3651, allocations: 119 kB / 0.5901 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3651, allocations: 0 / 0.5901 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3651, allocations: 0 / 0.5901 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3651, allocations: 4.578 kB / 0.5901 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3652, allocations: 182.1 kB / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3652, allocations: 0 / 0.5903 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.3653, allocations: 17.06 kB / 0.5903 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3653, allocations: 0 / 0.5903 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3653, allocations: 10.25 kB / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3653, allocations: 0 / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3654, allocations: 0 / 0.5903 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3656, allocations: 204.9 kB / 0.5905 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.3657, allocations: 86.14 kB / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3657, allocations: 0 / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.3658, allocations: 13.52 kB / 0.5906 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3658, allocations: 15.92 kB / 0.5906 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3658, allocations: 0 / 0.5906 GB, free: 21.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.3659, allocations: 98.89 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3659, allocations: 1.062 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.3661, allocations: 16 kB / 0.5907 GB, free: 21.12 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.0001141/0.3662, allocations: 101.1 kB / 0.5908 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3665, allocations: 85.41 kB / 0.5909 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3665, allocations: 0 / 0.5909 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3667, allocations: 45.08 kB / 0.5909 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3669, allocations: 11.09 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.3672, allocations: 146.6 kB / 0.5911 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3673, allocations: 0.6928 MB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.3674, allocations: 1.188 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.3674, allocations: 11.44 kB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3674, allocations: 1.531 kB / 0.5918 GB, free: 19.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002843/0.3702, allocations: 0.7901 MB / 0.5926 GB, free: 19.22 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)