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.01508/0.01508, allocations: 102.4 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.002142/0.002142, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.001267/0.001267, allocations: 53.2 kB / 326.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1289, allocations: 46.63 MB / 373.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003142/0.1321, allocations: 1.578 MB / 374.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1334, allocations: 0.69 MB / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.1334, allocations: 0 / 375.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1338, allocations: 51.73 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.134, allocations: 39.72 kB / 375.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1351, allocations: 0.5991 MB / 376.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1353, allocations: 107.7 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1355, allocations: 37.03 kB / 376.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1356, allocations: 63.72 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.1358, allocations: 75.72 kB / 376.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1358, allocations: 12 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.136, allocations: 131.8 kB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1361, allocations: 39.84 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.1362, allocations: 59.59 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1365, allocations: 223.4 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1365, allocations: 0 / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1365, allocations: 0 / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1365, allocations: 3.938 kB / 376.8 MB, free: 13.6 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.001442/0.1379, allocations: 0.538 MB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.138, allocations: 12.03 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1393, allocations: 180.5 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1395, allocations: 184.2 kB / 377.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1396, allocations: 12.23 kB / 377.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1396, allocations: 12.38 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.14, allocations: 181.8 kB / 377.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.14, allocations: 0 / 377.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1401, allocations: 4 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.1401, allocations: 8 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.1405, allocations: 171.8 kB / 378.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.1415, allocations: 0.5351 MB / 378.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1419, allocations: 166.4 kB / 378.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1421, allocations: 96.8 kB / 378.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1421, allocations: 3.984 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1422, allocations: 38.75 kB / 379 MB, free: 11.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1422, allocations: 0 / 379 MB, free: 11.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006626/0.1428, allocations: 257.4 kB / 379.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1429, allocations: 59.41 kB / 379.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1431, allocations: 187.3 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1431, allocations: 37.58 kB / 379.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1432, allocations: 112.2 kB / 379.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1432, allocations: 39.39 kB / 379.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.1433, allocations: 37.61 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1435, allocations: 330.8 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1436, allocations: 67.94 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.1438, allocations: 102.4 kB / 380.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.1442, allocations: 166.9 kB / 380.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1442, allocations: 4 kB / 380.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004355/0.1447, allocations: 209.4 kB / 380.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1447, allocations: 9.031 kB / 380.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1447, allocations: 4 kB / 380.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1447, allocations: 0 / 380.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.145, allocations: 35.95 kB / 380.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.145, allocations: 4 kB / 380.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1451, allocations: 15.91 kB / 380.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1451, allocations: 11.98 kB / 380.6 MB, free: 9.582 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.0001239/0.1453, allocations: 137.7 kB / 380.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1453, allocations: 15.75 kB / 380.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.1459, allocations: 250.9 kB / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1459, allocations: 3.984 kB / 381 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1459, allocations: 0 / 381 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1459, allocations: 4 kB / 381 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1462, allocations: 277.4 kB / 381.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1462, allocations: 8 kB / 381.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.1465, allocations: 39.89 kB / 381.3 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1465, allocations: 7.938 kB / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1465, allocations: 0 / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1465, allocations: 0 / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1465, allocations: 0 / 381.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.147, allocations: 319.2 kB / 381.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.1471, allocations: 96.84 kB / 381.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1471, allocations: 8 kB / 381.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1473, allocations: 7.938 kB / 381.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.1473, allocations: 15.97 kB / 381.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1473, allocations: 7.938 kB / 381.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1475, allocations: 147.5 kB / 381.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1475, allocations: 4 kB / 381.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1477, allocations: 35.84 kB / 382 MB, free: 8.121 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.0001437/0.1479, allocations: 103.2 kB / 382.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.1483, allocations: 172 kB / 382.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1483, allocations: 0 / 382.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.1486, allocations: 103.9 kB / 382.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1489, allocations: 15.94 kB / 382.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.1495, allocations: 311.6 kB / 382.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1498, allocations: 0.728 MB / 383.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1499, allocations: 29.42 kB / 383.4 MB, free: 6.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.15, allocations: 23.42 kB / 383.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.15, allocations: 4 kB / 383.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Templates: time 0.005095/0.1551, allocations: 1.98 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)