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.000967/0.0009671, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.133/1.133, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001512/0.001512, allocations: 125.2 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002767, allocations: 8 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07901/0.0793, allocations: 44.5 MB / 355 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.3014, allocations: 72.75 MB / 427.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3017, allocations: 70.78 kB / 427.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0092/0.3109, allocations: 3.75 MB / 431.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3109, allocations: 0 / 431.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3109, allocations: 4.5 kB / 431.6 MB, free: 13.69 MB / 314.7 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.001709/0.3126, allocations: 0.6599 MB / 432.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.3127, allocations: 12.03 kB / 432.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3127, allocations: 16.84 kB / 432.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3129, allocations: 194.9 kB / 432.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3129, allocations: 8.172 kB / 432.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3129, allocations: 11 kB / 432.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.3132, allocations: 180.3 kB / 432.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3133, allocations: 0 / 432.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3133, allocations: 14.31 kB / 432.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.3133, allocations: 0 / 432.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3137, allocations: 204.8 kB / 432.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.3144, allocations: 0.5556 MB / 433.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.3148, allocations: 177 kB / 433.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.3148, allocations: 11.61 kB / 433.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3148, allocations: 34.56 kB / 433.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3148, allocations: 0 / 433.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006213/0.3155, allocations: 375.9 kB / 434 MB, free: 11.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.3155, allocations: 55.41 kB / 434.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3156, allocations: 164 kB / 434.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3156, allocations: 29.7 kB / 434.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.3157, allocations: 109.8 kB / 434.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.3157, allocations: 50.33 kB / 434.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.3157, allocations: 0 / 434.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.3158, allocations: 329.6 kB / 434.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3159, allocations: 77.31 kB / 434.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3161, allocations: 105.7 kB / 434.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.3163, allocations: 88.52 kB / 435 MB, free: 10.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3163, allocations: 7.953 kB / 435 MB, free: 10.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004044/0.3167, allocations: 241.4 kB / 435.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3167, allocations: 4 kB / 435.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3167, allocations: 4.656 kB / 435.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3168, allocations: 0 / 435.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.317, allocations: 35.97 kB / 435.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.317, allocations: 2.188 kB / 435.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3172, allocations: 31.27 kB / 435.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3172, allocations: 7.984 kB / 435.4 MB, free: 10.26 MB / 314.7 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 7.947e-05/0.3173, allocations: 136.1 kB / 435.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3173, allocations: 14.39 kB / 435.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.3178, allocations: 279.3 kB / 435.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3178, allocations: 4 kB / 435.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3178, allocations: 0 / 435.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3178, allocations: 3.984 kB / 435.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3181, allocations: 280.2 kB / 436.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3181, allocations: 3.938 kB / 436.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3183, allocations: 38.08 kB / 436.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3183, allocations: 8 kB / 436.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3183, allocations: 11.5 kB / 436.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3183, allocations: 0 / 436.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3183, allocations: 0 / 436.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3188, allocations: 347.2 kB / 436.5 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3188, allocations: 92.94 kB / 436.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3188, allocations: 9 kB / 436.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.319, allocations: 7.984 kB / 436.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.3191, allocations: 18.75 kB / 436.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3191, allocations: 7.984 kB / 436.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.3192, allocations: 139.2 kB / 436.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3192, allocations: 0 / 436.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.3194, allocations: 47.45 kB / 436.8 MB, free: 8.969 MB / 314.7 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.0001215/0.3196, allocations: 110.9 kB / 436.9 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.32, allocations: 199.4 kB / 437.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.32, allocations: 0 / 437.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3202, allocations: 108.5 kB / 437.2 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3204, allocations: 21.34 kB / 437.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.3209, allocations: 374.2 kB / 437.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.321, allocations: 0.7317 MB / 438.3 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3212, allocations: 34.16 kB / 438.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3212, allocations: 26.92 kB / 438.4 MB, free: 7.465 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3212, allocations: 0 / 438.4 MB, free: 7.465 MB / 314.7 MB Notification: Performance of Templates: time 0.003575/0.3248, allocations: 1.826 MB / 440.2 MB, free: 5.688 MB / 314.7 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)