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.001676/0.001675, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002187/0.002187, allocations: 192.6 kB / 16.13 MB, free: 6.664 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.739/1.739, allocations: 205.1 MB / 222 MB, free: 4.742 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.00115/0.00115, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.342, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004098/0.3462, allocations: 1.65 MB / 326.3 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3479, allocations: 0.673 MB / 327 MB, free: 120 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.348, allocations: 2.688 kB / 327 MB, free: 120 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.3484, allocations: 42.28 kB / 327 MB, free: 96 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.3486, allocations: 31.86 kB / 327.1 MB, free: 72 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3499, allocations: 0.5895 MB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.3502, allocations: 103.8 kB / 327.7 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3504, allocations: 23.06 kB / 327.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3506, allocations: 58.95 kB / 327.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3508, allocations: 78.67 kB / 327.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3509, allocations: 6.594 kB / 327.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.3512, allocations: 139.9 kB / 328 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.3513, allocations: 38.52 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.3514, allocations: 46.52 kB / 328.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.3518, allocations: 227.5 kB / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3518, allocations: 3.938 kB / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3518, allocations: 0 / 328.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3518, allocations: 1.406 kB / 328.4 MB, free: 15.19 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.001969/0.3538, allocations: 0.554 MB / 328.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/0.3539, allocations: 9.375 kB / 328.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.3554, allocations: 176.1 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3557, allocations: 186.2 kB / 329.3 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3557, allocations: 8.875 kB / 329.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.3557, allocations: 14.53 kB / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.3562, allocations: 191.8 kB / 329.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3563, allocations: 3.984 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.3563, allocations: 1.062 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.3563, allocations: 5.719 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.3568, allocations: 167.2 kB / 329.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.358, allocations: 0.5458 MB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.3586, allocations: 172.2 kB / 330.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.3589, allocations: 104.5 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3589, allocations: 1.719 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.359, allocations: 48.34 kB / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.359, allocations: 0 / 330.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009518/0.36, allocations: 276.8 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.36, allocations: 54.19 kB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3603, allocations: 187.5 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3603, allocations: 27.36 kB / 331.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3605, allocations: 112.5 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.3605, allocations: 49.98 kB / 331.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.3606, allocations: 36.84 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3608, allocations: 327.1 kB / 331.6 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.361, allocations: 72.02 kB / 331.6 MB, free: 12.55 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.3613, allocations: 115 kB / 331.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.3618, allocations: 182.7 kB / 331.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3618, allocations: 0 / 331.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006076/0.3624, allocations: 231.5 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.3625, allocations: 9.078 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3625, allocations: 5.031 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3625, allocations: 2.188 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.3628, allocations: 40.75 kB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3628, allocations: 2.25 kB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.363, allocations: 23.67 kB / 332.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.363, allocations: 3.469 kB / 332.2 MB, free: 12.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.3632, allocations: 136.6 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.3632, allocations: 13.47 kB / 332.4 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.364, allocations: 277.9 kB / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.364, allocations: 3.688 kB / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.364, allocations: 0 / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.364, allocations: 4 kB / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3645, allocations: 285.5 kB / 332.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3645, allocations: 0 / 332.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.3647, allocations: 39.95 kB / 333 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3647, allocations: 0 / 333 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.3647, allocations: 11.94 kB / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3648, allocations: 3.938 kB / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3648, allocations: 0 / 333 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.3654, allocations: 339.1 kB / 333.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.3655, allocations: 96.86 kB / 333.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3655, allocations: 3.938 kB / 333.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.3657, allocations: 11.98 kB / 333.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.3658, allocations: 11.98 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3658, allocations: 11.98 kB / 333.5 MB, free: 11 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3659, allocations: 135.9 kB / 333.6 MB, free: 10.87 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3659, allocations: 0 / 333.6 MB, free: 10.87 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3663, allocations: 32 kB / 333.6 MB, free: 10.84 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 (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.000211/0.3665, allocations: 103.2 kB / 333.7 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.367, allocations: 183.8 kB / 333.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.367, allocations: 4.188 kB / 333.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.3673, allocations: 111.8 kB / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3677, allocations: 15.98 kB / 334 MB, free: 10.42 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.3685, allocations: 381.5 kB / 334.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.369, allocations: 0.7244 MB / 335.1 MB, free: 9.266 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.3691, allocations: 33.41 kB / 335.2 MB, free: 9.23 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.3692, allocations: 23.42 kB / 335.2 MB, free: 9.211 MB / 270.1 MB Notification: Performance of SimCode: time 2.796e-06/0.3692, allocations: 0 / 335.2 MB, free: 9.211 MB / 270.1 MB Notification: Performance of Templates: time 0.006095/0.3753, allocations: 1.942 MB / 337.1 MB, free: 7.266 MB / 270.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)