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.01094/0.01094, allocations: 102.6 kB / 15.73 MB, free: 6.066 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.0016/0.0016, allocations: 198.1 kB / 16.68 MB, free: 5.98 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.889/1.889, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.002568/0.002568, allocations: 49.38 kB / 326.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1422, allocations: 46.62 MB / 373.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00316/0.1455, allocations: 1.585 MB / 374.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1468, allocations: 0.6939 MB / 375.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.1469, allocations: 4 kB / 375.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1472, allocations: 47.72 kB / 375.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1474, allocations: 35.78 kB / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1486, allocations: 0.603 MB / 376.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.1488, allocations: 111.7 kB / 376.2 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1489, allocations: 33.05 kB / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1491, allocations: 63.7 kB / 376.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1492, allocations: 79.72 kB / 376.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.1493, allocations: 8 kB / 376.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1495, allocations: 135.8 kB / 376.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.1496, allocations: 35.84 kB / 376.6 MB, free: 14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1497, allocations: 63.64 kB / 376.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.15, allocations: 215.4 kB / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.15, allocations: 0 / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.15, allocations: 0 / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.15, allocations: 0 / 376.8 MB, free: 13.73 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.001478/0.1515, allocations: 0.5536 MB / 377.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1516, allocations: 8.031 kB / 377.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.1529, allocations: 172.5 kB / 377.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.153, allocations: 192.1 kB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1531, allocations: 8.234 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1531, allocations: 12.38 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.1535, allocations: 177.9 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1535, allocations: 0 / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1535, allocations: 4 kB / 378 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.1536, allocations: 8 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.154, allocations: 171.8 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009947/0.155, allocations: 0.539 MB / 378.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.1554, allocations: 158.5 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1556, allocations: 100.8 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1556, allocations: 3.984 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1557, allocations: 42.5 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1557, allocations: 3.938 kB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007414/0.1564, allocations: 261.5 kB / 379.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1565, allocations: 59.41 kB / 379.3 MB, free: 11.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1567, allocations: 187.4 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1567, allocations: 33.64 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.1568, allocations: 108.2 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1568, allocations: 43.39 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.1569, allocations: 37.59 kB / 379.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1571, allocations: 330.8 kB / 380 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1572, allocations: 71.95 kB / 380.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1574, allocations: 90.45 kB / 380.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1578, allocations: 166.9 kB / 380.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1578, allocations: 4 kB / 380.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004435/0.1583, allocations: 213.4 kB / 380.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1583, allocations: 11.94 kB / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1583, allocations: 0 / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1583, allocations: 0 / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1586, allocations: 35.91 kB / 380.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1586, allocations: 4 kB / 380.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1587, allocations: 27.89 kB / 380.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1587, allocations: 4 kB / 380.6 MB, free: 9.695 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.0001185/0.1589, allocations: 129.8 kB / 380.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.1589, allocations: 19.75 kB / 380.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.1595, allocations: 254.9 kB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1595, allocations: 0 / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1595, allocations: 0 / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1595, allocations: 4 kB / 381 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1598, allocations: 281.4 kB / 381.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1598, allocations: 0 / 381.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.16, allocations: 35.97 kB / 381.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1601, allocations: 3.938 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1601, allocations: 7.984 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1601, allocations: 4 kB / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1601, allocations: 0 / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/0.1606, allocations: 319.2 kB / 381.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1607, allocations: 96.86 kB / 381.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1607, allocations: 4 kB / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1609, allocations: 15.92 kB / 381.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.161, allocations: 11.98 kB / 381.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.161, allocations: 7.984 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1611, allocations: 143.5 kB / 381.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1611, allocations: 4 kB / 381.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1614, allocations: 39.78 kB / 382 MB, free: 8.238 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.0001769/0.1616, allocations: 107.2 kB / 382.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004588/0.162, allocations: 171.9 kB / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1621, allocations: 0 / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.1623, allocations: 99.88 kB / 382.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1626, allocations: 12 kB / 382.4 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1632, allocations: 311.6 kB / 382.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1635, allocations: 0.7319 MB / 383.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1636, allocations: 37.39 kB / 383.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.1637, allocations: 23.42 kB / 383.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1637, allocations: 0 / 383.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of Templates: time 0.005624/0.1693, allocations: 1.976 MB / 385.4 MB, free: 4.719 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)