Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008245/0.008244, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001529/0.001529, allocations: 205.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.001103/0.001104, allocations: 43.94 kB / 326.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1108, allocations: 46.62 MB / 373.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003203/0.1141, allocations: 1.596 MB / 374.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1155, allocations: 0.694 MB / 375.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.1156, allocations: 0 / 375.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1159, allocations: 51.7 kB / 375.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1161, allocations: 31.8 kB / 375.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1174, allocations: 0.603 MB / 376.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.1176, allocations: 111.7 kB / 376.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1178, allocations: 33.06 kB / 376.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.118, allocations: 67.7 kB / 376.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1181, allocations: 75.67 kB / 376.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1182, allocations: 12 kB / 376.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1184, allocations: 131.8 kB / 376.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.227e-05/0.1185, allocations: 39.84 kB / 376.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1186, allocations: 59.66 kB / 376.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1189, allocations: 223.2 kB / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.119, allocations: 0 / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.119, allocations: 0 / 376.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.119, allocations: 0 / 376.8 MB, free: 0.8789 MB / 318.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.001778/0.1208, allocations: 0.5571 MB / 377.4 MB, free: 280 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1208, allocations: 12.03 kB / 377.4 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1221, allocations: 168.6 kB / 377.6 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2094/0.3316, allocations: 194.8 kB / 377.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.3317, allocations: 13.08 kB / 377.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.3318, allocations: 8.469 kB / 377.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.3324, allocations: 174.9 kB / 378 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3324, allocations: 0 / 378 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3325, allocations: 5.281 kB / 378 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.3325, allocations: 6.328 kB / 378 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.3329, allocations: 170.5 kB / 378.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.3339, allocations: 0.5346 MB / 378.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.3343, allocations: 166.8 kB / 378.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.3346, allocations: 93.62 kB / 378.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.3346, allocations: 4.984 kB / 378.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3347, allocations: 35.69 kB / 379 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/0.3347, allocations: 0 / 379 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008548/0.3355, allocations: 261.5 kB / 379.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3356, allocations: 58.94 kB / 379.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3358, allocations: 183.5 kB / 379.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.3358, allocations: 31.08 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.3359, allocations: 113.2 kB / 379.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.3359, allocations: 47.91 kB / 379.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.336, allocations: 38.67 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.3361, allocations: 327.4 kB / 380 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.3363, allocations: 68.39 kB / 380.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3365, allocations: 92.55 kB / 380.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.337, allocations: 170 kB / 380.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.337, allocations: 0.6875 kB / 380.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004884/0.3375, allocations: 214.5 kB / 380.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3376, allocations: 5.766 kB / 380.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3376, allocations: 1.125 kB / 380.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3376, allocations: 1.156 kB / 380.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3379, allocations: 37.73 kB / 380.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3379, allocations: 6.516 kB / 380.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.338, allocations: 22.06 kB / 380.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3381, allocations: 6.516 kB / 380.6 MB, free: 12.08 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0001156/0.3382, allocations: 135.3 kB / 380.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.3382, allocations: 14.31 kB / 380.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.3389, allocations: 253.7 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.339, allocations: 2.094 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.339, allocations: 6.031 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.339, allocations: 1.219 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3393, allocations: 272.8 kB / 381.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3393, allocations: 3.844 kB / 381.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.3395, allocations: 38.2 kB / 381.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3395, allocations: 0.5 kB / 381.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3395, allocations: 8.531 kB / 381.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3395, allocations: 0 / 381.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3396, allocations: 7.969 kB / 381.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.3401, allocations: 320.2 kB / 381.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3402, allocations: 101.8 kB / 381.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3402, allocations: 2.188 kB / 381.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3404, allocations: 11.03 kB / 381.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.3405, allocations: 19.41 kB / 381.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3405, allocations: 6.156 kB / 381.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3406, allocations: 150.2 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3406, allocations: 0 / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3409, allocations: 34.23 kB / 382 MB, free: 11.18 MB / 318.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 (18): * Single equations (assignments): 18 * 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.0001384/0.341, allocations: 105.5 kB / 382.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.3416, allocations: 172.2 kB / 382.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3416, allocations: 4 kB / 382.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.3418, allocations: 103.1 kB / 382.3 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3422, allocations: 18.98 kB / 382.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.3429, allocations: 314.9 kB / 382.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3432, allocations: 0.73 MB / 383.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.3433, allocations: 33.19 kB / 383.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.3434, allocations: 23.02 kB / 383.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3434, allocations: 0 / 383.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Templates: time 0.006495/0.3499, allocations: 1.986 MB / 385.4 MB, free: 9.922 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)