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.001433/0.001433, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001561/0.001561, allocations: 191 kB / 18 MB, free: 4.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.65/1.65, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001349/0.001349, allocations: 47.94 kB / 327.8 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 46.62 MB / 374.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00309/0.13, allocations: 1.584 MB / 376 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1314, allocations: 0.694 MB / 376.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1315, allocations: 4 kB / 376.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1319, allocations: 47.73 kB / 376.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1321, allocations: 35.72 kB / 376.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.1333, allocations: 0.6031 MB / 377.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1336, allocations: 111.7 kB / 377.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1337, allocations: 37.03 kB / 377.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1339, allocations: 59.72 kB / 377.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.134, allocations: 83.66 kB / 377.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1341, allocations: 8 kB / 377.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1343, allocations: 135.8 kB / 377.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.1344, allocations: 31.91 kB / 377.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.219e-05/0.1344, allocations: 59.59 kB / 377.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.1348, allocations: 223.3 kB / 378.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1348, allocations: 3.938 kB / 378.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1348, allocations: 0 / 378.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1348, allocations: 0 / 378.2 MB, free: 0.8828 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.001696/0.1365, allocations: 0.5497 MB / 378.7 MB, free: 292 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.1366, allocations: 8.031 kB / 378.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.1379, allocations: 172.5 kB / 378.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.248/0.3859, allocations: 189.8 kB / 379.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.386, allocations: 8.547 kB / 379.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.3861, allocations: 12.78 kB / 379.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.3867, allocations: 174.2 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3867, allocations: 1.438 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.3867, allocations: 3.062 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.3868, allocations: 5.5 kB / 379.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.3872, allocations: 170.1 kB / 379.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.3882, allocations: 0.5365 MB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3886, allocations: 163.1 kB / 380.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3888, allocations: 95 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3889, allocations: 4.391 kB / 380.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.3889, allocations: 34.75 kB / 380.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3889, allocations: 0.7656 kB / 380.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007197/0.3896, allocations: 258.8 kB / 380.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.3897, allocations: 60.84 kB / 380.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3899, allocations: 185.9 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3899, allocations: 27.08 kB / 380.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.39, allocations: 115.7 kB / 380.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.39, allocations: 45.12 kB / 380.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.3901, allocations: 40.77 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.3902, allocations: 324.7 kB / 381.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3904, allocations: 68.91 kB / 381.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3906, allocations: 95.16 kB / 381.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.3911, allocations: 165.3 kB / 381.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3911, allocations: 0.6562 kB / 381.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005243/0.3917, allocations: 213.4 kB / 381.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3917, allocations: 10.45 kB / 381.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3917, allocations: 0.5312 kB / 381.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3917, allocations: 2.188 kB / 381.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.392, allocations: 37.53 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.392, allocations: 5.5 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3922, allocations: 18.23 kB / 381.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3922, allocations: 10.2 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.0001379/0.3924, allocations: 138.9 kB / 382 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.3925, allocations: 14.12 kB / 382.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/0.3932, allocations: 246.7 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3932, allocations: 3.156 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3932, allocations: 7.672 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3933, allocations: 0.75 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3936, allocations: 276.8 kB / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3936, allocations: 0 / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.3938, allocations: 47.64 kB / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3938, allocations: 0 / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3938, allocations: 4.766 kB / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3939, allocations: 0 / 382.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3939, allocations: 8.781 kB / 382.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.3944, allocations: 313.2 kB / 383 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.3945, allocations: 95.39 kB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3945, allocations: 5.062 kB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3947, allocations: 8.734 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.3948, allocations: 18.72 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3948, allocations: 6.578 kB / 383.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.3949, allocations: 153.9 kB / 383.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3949, allocations: 1.125 kB / 383.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.3952, allocations: 26.06 kB / 383.3 MB, free: 10.92 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.0001501/0.3954, allocations: 101 kB / 383.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.3959, allocations: 179.2 kB / 383.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3959, allocations: 0 / 383.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3961, allocations: 103 kB / 383.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3964, allocations: 17.73 kB / 383.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006344/0.3971, allocations: 318.9 kB / 384 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.3973, allocations: 0.7224 MB / 384.7 MB, free: 9.844 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3974, allocations: 35.03 kB / 384.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.3975, allocations: 31.58 kB / 384.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3975, allocations: 0 / 384.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of Templates: time 0.005986/0.4035, allocations: 1.984 MB / 386.7 MB, free: 9.68 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)