Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001628/0.001628, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.511/1.511, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001715/0.001715, allocations: 117.6 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.528e-05/1.534e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07616, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.3488, allocations: 72 MB / 414.6 MB, free: 23.78 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.349, allocations: 70.47 kB / 414.6 MB, free: 23.74 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0097/0.3587, allocations: 3.665 MB / 418.3 MB, free: 20.86 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3587, allocations: 0 / 418.3 MB, free: 20.86 MB / 315.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3587, allocations: 4 kB / 418.3 MB, free: 20.86 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001774/0.3605, allocations: 0.6422 MB / 418.9 MB, free: 20.2 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3606, allocations: 12.03 kB / 418.9 MB, free: 20.18 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.3606, allocations: 17.53 kB / 419 MB, free: 20.17 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3608, allocations: 179.2 kB / 419.1 MB, free: 19.96 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3608, allocations: 4 kB / 419.1 MB, free: 19.95 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3608, allocations: 12 kB / 419.2 MB, free: 19.94 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002705/0.3611, allocations: 166 kB / 419.3 MB, free: 19.84 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3614, allocations: 150 kB / 419.5 MB, free: 19.72 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3614, allocations: 0 / 419.5 MB, free: 19.72 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.3614, allocations: 0 / 419.5 MB, free: 19.72 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3614, allocations: 4 kB / 419.5 MB, free: 19.71 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.3622, allocations: 0.5078 MB / 420 MB, free: 19.26 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3625, allocations: 158.2 kB / 420.1 MB, free: 19.15 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3626, allocations: 86.45 kB / 420.2 MB, free: 19.09 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.3626, allocations: 7.984 kB / 420.2 MB, free: 19.08 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3626, allocations: 34.12 kB / 420.3 MB, free: 19.04 MB / 315.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3626, allocations: 4 kB / 420.3 MB, free: 19.04 MB / 315.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003032/0.3629, allocations: 169.5 kB / 420.4 MB, free: 18.91 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.363, allocations: 55.41 kB / 420.5 MB, free: 18.84 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.3631, allocations: 139.2 kB / 420.6 MB, free: 18.71 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3631, allocations: 25.7 kB / 420.6 MB, free: 18.68 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.3632, allocations: 118.4 kB / 420.8 MB, free: 18.57 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3632, allocations: 42.73 kB / 420.8 MB, free: 18.54 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.3632, allocations: 0.9375 kB / 420.8 MB, free: 18.54 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.3633, allocations: 329.7 kB / 421.1 MB, free: 18.21 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.3634, allocations: 61.03 kB / 421.2 MB, free: 18.17 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.3635, allocations: 87.59 kB / 421.3 MB, free: 18.1 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.3636, allocations: 60.84 kB / 421.3 MB, free: 18.06 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3636, allocations: 0 / 421.3 MB, free: 18.06 MB / 315.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002378/0.3638, allocations: 201.4 kB / 421.5 MB, free: 17.9 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3638, allocations: 6.188 kB / 421.5 MB, free: 17.89 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3638, allocations: 0 / 421.5 MB, free: 17.89 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3639, allocations: 4 kB / 421.5 MB, free: 17.89 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3641, allocations: 48.86 kB / 421.6 MB, free: 17.85 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3641, allocations: 0 / 421.6 MB, free: 17.85 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3642, allocations: 19.72 kB / 421.6 MB, free: 17.83 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3643, allocations: 4.938 kB / 421.6 MB, free: 17.83 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.782e-05/0.3643, allocations: 116.8 kB / 421.7 MB, free: 17.71 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3644, allocations: 11.86 kB / 421.7 MB, free: 17.7 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.3647, allocations: 233.8 kB / 422 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3647, allocations: 4 kB / 422 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3647, allocations: 0 / 422 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3647, allocations: 0 / 422 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.3649, allocations: 244.3 kB / 422.2 MB, free: 17.28 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.365, allocations: 5.125 kB / 422.2 MB, free: 17.27 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.3652, allocations: 41.39 kB / 422.2 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3652, allocations: 0 / 422.2 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3652, allocations: 7.812 kB / 422.3 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3652, allocations: 0 / 422.3 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3652, allocations: 3.953 kB / 422.3 MB, free: 17.23 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3655, allocations: 293.9 kB / 422.5 MB, free: 16.97 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3655, allocations: 96.91 kB / 422.6 MB, free: 16.86 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3656, allocations: 0 / 422.6 MB, free: 16.86 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3657, allocations: 8 kB / 422.6 MB, free: 16.85 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.3658, allocations: 19.78 kB / 422.7 MB, free: 16.83 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3658, allocations: 7.953 kB / 422.7 MB, free: 16.82 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.3659, allocations: 118.6 kB / 422.8 MB, free: 16.72 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3659, allocations: 0 / 422.8 MB, free: 16.72 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3661, allocations: 27.94 kB / 422.8 MB, free: 16.7 MB / 315.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001434/0.3663, allocations: 119 kB / 422.9 MB, free: 16.57 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.3665, allocations: 141 kB / 423.1 MB, free: 16.48 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3666, allocations: 3.938 kB / 423.1 MB, free: 16.48 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3667, allocations: 90.75 kB / 423.2 MB, free: 16.41 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3669, allocations: 24.88 kB / 423.2 MB, free: 16.39 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3673, allocations: 225.8 kB / 423.4 MB, free: 16.2 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3675, allocations: 0.7325 MB / 424.1 MB, free: 15.44 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3677, allocations: 25.2 kB / 424.2 MB, free: 15.42 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.3677, allocations: 27.36 kB / 424.2 MB, free: 15.39 MB / 315.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3677, allocations: 0 / 424.2 MB, free: 15.39 MB / 315.1 MB Notification: Performance of Templates: time 0.003693/0.3714, allocations: 1.56 MB / 425.8 MB, free: 13.87 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)