Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.009835/0.009835, allocations: 101.1 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.001926/0.001926, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.876/1.876, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001383/0.001383, allocations: 50.86 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 46.62 MB / 373.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004156/0.1361, allocations: 1.582 MB / 374.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1376, allocations: 0.69 MB / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1378, allocations: 0 / 375.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1382, allocations: 51.72 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1385, allocations: 39.78 kB / 375.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1398, allocations: 0.5991 MB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.1401, allocations: 107.7 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1403, allocations: 41.02 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1404, allocations: 59.72 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1407, allocations: 79.72 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1407, allocations: 8 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.141, allocations: 143.8 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.1411, allocations: 31.86 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.1412, allocations: 59.64 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.1416, allocations: 215.4 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1416, allocations: 0 / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1416, allocations: 4 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1416, allocations: 0 / 376.8 MB, free: 13.61 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.001785/0.1434, allocations: 0.5458 MB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1435, allocations: 8.031 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1449, allocations: 172.5 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1452, allocations: 196.1 kB / 377.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.1452, allocations: 12.23 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1453, allocations: 8.375 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.1458, allocations: 177.9 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1458, allocations: 0 / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.1458, allocations: 7.984 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.1459, allocations: 7.938 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.1464, allocations: 167.8 kB / 378.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1475, allocations: 0.539 MB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.1479, allocations: 158.5 kB / 378.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1482, allocations: 92.8 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1482, allocations: 7.984 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1483, allocations: 42.69 kB / 379 MB, free: 11.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.1483, allocations: 4 kB / 379 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007144/0.149, allocations: 261.3 kB / 379.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.149, allocations: 51.41 kB / 379.3 MB, free: 11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1492, allocations: 187.4 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1493, allocations: 29.7 kB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.1494, allocations: 116.2 kB / 379.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.1494, allocations: 47.39 kB / 379.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.1495, allocations: 41.59 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1497, allocations: 326.8 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1498, allocations: 63.95 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1501, allocations: 94.44 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1505, allocations: 167 kB / 380.3 MB, free: 9.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1505, allocations: 7.938 kB / 380.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004972/0.151, allocations: 217.4 kB / 380.5 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.151, allocations: 7.938 kB / 380.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.151, allocations: 4.062 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1511, allocations: 4 kB / 380.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.1513, allocations: 35.91 kB / 380.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1514, allocations: 0 / 380.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1515, allocations: 23.83 kB / 380.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1515, allocations: 4 kB / 380.6 MB, free: 9.586 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.0001489/0.1517, allocations: 133.8 kB / 380.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.1518, allocations: 19.75 kB / 380.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.1524, allocations: 254.8 kB / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1524, allocations: 4 kB / 381 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1524, allocations: 3.984 kB / 381 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1525, allocations: 0 / 381 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.1528, allocations: 273.4 kB / 381.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1528, allocations: 0 / 381.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.153, allocations: 35.97 kB / 381.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.153, allocations: 3.938 kB / 381.3 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1531, allocations: 19.92 kB / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1531, allocations: 0 / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1531, allocations: 0 / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.1538, allocations: 311.2 kB / 381.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.1539, allocations: 96.86 kB / 381.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1539, allocations: 0 / 381.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1541, allocations: 19.98 kB / 381.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.1542, allocations: 11.92 kB / 381.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1542, allocations: 11.98 kB / 381.8 MB, free: 8.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.1544, allocations: 143.5 kB / 381.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 0 / 381.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1547, allocations: 31.84 kB / 382 MB, free: 8.137 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.0001911/0.1549, allocations: 111.2 kB / 382.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.1554, allocations: 171.8 kB / 382.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1555, allocations: 0 / 382.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.1557, allocations: 99.88 kB / 382.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1561, allocations: 19.94 kB / 382.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.1568, allocations: 315.6 kB / 382.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.1573, allocations: 0.728 MB / 383.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1575, allocations: 33.39 kB / 383.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.1575, allocations: 23.42 kB / 383.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.1575, allocations: 0 / 383.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Templates: time 0.005604/0.1632, allocations: 1.984 MB / 385.4 MB, free: 4.602 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)