Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001131, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004998, allocations: 18.64 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001448/0.2527, allocations: 1.277 MB / 327.7 MB, free: 416 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.2537, allocations: 0.6385 MB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.2537, allocations: 2 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.254, allocations: 32.36 kB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2541, allocations: 30.52 kB / 328.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2551, allocations: 0.4941 MB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2553, allocations: 65.42 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2554, allocations: 26.25 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2555, allocations: 52.27 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2557, allocations: 68.7 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2557, allocations: 4.5 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.2559, allocations: 126.8 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.256, allocations: 30.31 kB / 329.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.256, allocations: 41.73 kB / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.2562, allocations: 140.7 kB / 329.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2563, allocations: 0 / 329.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2563, allocations: 0 / 329.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2563, allocations: 1.031 kB / 329.5 MB, free: 15.15 MB / 270.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.001466/0.2577, allocations: 0.54 MB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2578, allocations: 8.688 kB / 330 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.2591, allocations: 174.5 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.2593, allocations: 197.6 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2593, allocations: 4.5 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.2594, allocations: 9.562 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.2598, allocations: 187.5 kB / 330.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2598, allocations: 4 kB / 330.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2598, allocations: 0.9062 kB / 330.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.2599, allocations: 9.375 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.2603, allocations: 176.9 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.2613, allocations: 0.5458 MB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.2617, allocations: 192.7 kB / 331.5 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2617, allocations: 5.281 kB / 331.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2617, allocations: 31.66 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2617, allocations: 0.9688 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007809/0.2625, allocations: 375.8 kB / 331.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2626, allocations: 53.5 kB / 331.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2628, allocations: 179.4 kB / 332.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2628, allocations: 30.73 kB / 332.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.2629, allocations: 113.3 kB / 332.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.2629, allocations: 58.12 kB / 332.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.2629, allocations: 0 / 332.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2631, allocations: 330.8 kB / 332.6 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2633, allocations: 72.83 kB / 332.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2635, allocations: 107.4 kB / 332.8 MB, free: 12.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2638, allocations: 89.45 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2638, allocations: 1.312 kB / 332.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005051/0.2643, allocations: 242.9 kB / 333.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2643, allocations: 5 kB / 333.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.2643, allocations: 5.016 kB / 333.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2644, allocations: 6.344 kB / 333.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2646, allocations: 38.75 kB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2646, allocations: 3.031 kB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2648, allocations: 24.48 kB / 333.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2648, allocations: 5.094 kB / 333.2 MB, free: 12.21 MB / 270.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 () * Number of clocked 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 0.0001149/0.2649, allocations: 135.2 kB / 333.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.265, allocations: 14.2 kB / 333.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.2656, allocations: 282.8 kB / 333.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2656, allocations: 2.312 kB / 333.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2656, allocations: 0 / 333.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2656, allocations: 1.062 kB / 333.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.2659, allocations: 276.2 kB / 333.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2659, allocations: 3.938 kB / 333.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.2662, allocations: 45.98 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2662, allocations: 5.125 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2662, allocations: 2.531 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2662, allocations: 5.297 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2662, allocations: 0 / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.2668, allocations: 351.6 kB / 334.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.2668, allocations: 96.92 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2669, allocations: 3.938 kB / 334.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.267, allocations: 15.98 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.2671, allocations: 15.94 kB / 334.5 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2671, allocations: 11.98 kB / 334.5 MB, free: 11.14 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2673, allocations: 135.9 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2673, allocations: 4 kB / 334.6 MB, free: 11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.2675, allocations: 27.94 kB / 334.6 MB, free: 10.98 MB / 270.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 (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.0001736/0.2677, allocations: 107.3 kB / 334.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000519/0.2683, allocations: 195.8 kB / 334.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2683, allocations: 0 / 334.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.2685, allocations: 103.9 kB / 335 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2688, allocations: 28.06 kB / 335.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.2694, allocations: 372.3 kB / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2698, allocations: 0.7322 MB / 336.1 MB, free: 9.395 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.2699, allocations: 37.39 kB / 336.2 MB, free: 9.355 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.27, allocations: 19.42 kB / 336.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.27, allocations: 0 / 336.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of Templates: time 0.004228/0.2742, allocations: 1.851 MB / 338.1 MB, free: 7.484 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) Environment - environmentSimulation: