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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 110 kB / 17.06 MB, free: 6.113 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.002349/0.002349, allocations: 200 kB / 18 MB, free: 5.188 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.685/1.685, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001544/0.001545, allocations: 55.92 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1401, allocations: 46.62 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003269/0.1434, allocations: 1.581 MB / 376 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1449, allocations: 0.694 MB / 376.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.145, allocations: 4 kB / 376.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1453, allocations: 51.72 kB / 376.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.1455, allocations: 31.78 kB / 376.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1467, allocations: 0.6108 MB / 377.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.147, allocations: 111.7 kB / 377.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1471, allocations: 29.08 kB / 377.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1472, allocations: 59.7 kB / 377.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1474, allocations: 79.67 kB / 377.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1475, allocations: 11.94 kB / 377.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.1477, allocations: 143.8 kB / 377.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1478, allocations: 31.89 kB / 377.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1479, allocations: 55.67 kB / 377.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1482, allocations: 219.3 kB / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1482, allocations: 0 / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.147e-06/0.1482, allocations: 4 kB / 378.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1482, allocations: 0 / 378.2 MB, free: 0.8711 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.001528/0.1498, allocations: 0.5536 MB / 378.7 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1498, allocations: 8.031 kB / 378.7 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.1511, allocations: 168.5 kB / 378.9 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2918/0.4429, allocations: 194.8 kB / 379.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.443, allocations: 10.47 kB / 379.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/0.4431, allocations: 10.09 kB / 379.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.4437, allocations: 174.5 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4438, allocations: 0 / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.4438, allocations: 5.75 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.4439, allocations: 6.734 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.4444, allocations: 172.1 kB / 379.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4456, allocations: 0.5338 MB / 380 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.446, allocations: 170 kB / 380.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.4463, allocations: 93.66 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.4464, allocations: 2.562 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4464, allocations: 32.53 kB / 380.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.4464, allocations: 0 / 380.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008536/0.4473, allocations: 261.1 kB / 380.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4473, allocations: 59.38 kB / 380.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.4476, allocations: 188.2 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4476, allocations: 30.02 kB / 380.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.4477, allocations: 113.7 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.4478, allocations: 39.55 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.4479, allocations: 40.03 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.448, allocations: 325.1 kB / 381.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4482, allocations: 70.83 kB / 381.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.4484, allocations: 88.25 kB / 381.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.4489, allocations: 168.8 kB / 381.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4489, allocations: 0.5 kB / 381.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006033/0.4495, allocations: 214.5 kB / 381.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.4496, allocations: 5.922 kB / 381.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.4496, allocations: 4.344 kB / 381.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.4496, allocations: 1.594 kB / 381.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.4499, allocations: 39.3 kB / 381.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.45, allocations: 5.25 kB / 381.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.4501, allocations: 18.58 kB / 381.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.4502, allocations: 9.906 kB / 381.9 MB, free: 11.82 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.0001468/0.4503, allocations: 130.5 kB / 382 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.4504, allocations: 14.89 kB / 382.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.4512, allocations: 258 kB / 382.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4512, allocations: 2.375 kB / 382.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.4512, allocations: 5.016 kB / 382.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4512, allocations: 1.578 kB / 382.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.4516, allocations: 276.4 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4516, allocations: 0 / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4519, allocations: 40.78 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4519, allocations: 5.625 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.4519, allocations: 4.156 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4519, allocations: 1.594 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4519, allocations: 3.938 kB / 382.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.4525, allocations: 318 kB / 383 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.4526, allocations: 91.88 kB / 383 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.4526, allocations: 9.703 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4528, allocations: 6.719 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.4529, allocations: 22.61 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4529, allocations: 5.391 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4531, allocations: 151.1 kB / 383.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4531, allocations: 0 / 383.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.4534, allocations: 25.81 kB / 383.3 MB, free: 10.91 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.0001771/0.4536, allocations: 107.2 kB / 383.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005315/0.4541, allocations: 174.2 kB / 383.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4541, allocations: 0 / 383.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4544, allocations: 107.1 kB / 383.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4547, allocations: 19.69 kB / 383.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.4554, allocations: 315.5 kB / 384 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.4557, allocations: 0.7218 MB / 384.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.4558, allocations: 32.75 kB / 384.7 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.4559, allocations: 27.02 kB / 384.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4559, allocations: 4 kB / 384.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Templates: time 0.007331/0.4633, allocations: 2.018 MB / 386.8 MB, free: 9.652 MB / 318.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)