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.01058/0.01058, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002013/0.002013, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.707/1.707, allocations: 205.1 MB / 222.5 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.001198/0.001198, allocations: 47.94 kB / 326.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 46.62 MB / 373.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003574/0.1311, allocations: 1.584 MB / 374.7 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1326, allocations: 0.694 MB / 375.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.1327, allocations: 4 kB / 375.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.133, allocations: 51.72 kB / 375.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1333, allocations: 31.78 kB / 375.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1346, allocations: 0.603 MB / 376.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.1348, allocations: 111.7 kB / 376.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.135, allocations: 33.05 kB / 376.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1352, allocations: 63.7 kB / 376.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1354, allocations: 83.66 kB / 376.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1354, allocations: 12 kB / 376.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1356, allocations: 131.8 kB / 376.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.1357, allocations: 31.91 kB / 376.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.1358, allocations: 63.64 kB / 376.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1362, allocations: 215.3 kB / 376.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1362, allocations: 4 kB / 376.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1362, allocations: 0 / 376.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1362, allocations: 0 / 376.8 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.001685/0.1379, allocations: 0.5497 MB / 377.4 MB, free: 280 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.138, allocations: 8.031 kB / 377.4 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.1393, allocations: 172.5 kB / 377.6 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2727/0.4121, allocations: 189.7 kB / 377.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.4122, allocations: 16.55 kB / 377.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4123, allocations: 6.906 kB / 377.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.4128, allocations: 172.5 kB / 377.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4129, allocations: 1 kB / 377.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.4129, allocations: 5.031 kB / 377.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.4129, allocations: 9.609 kB / 378 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.4134, allocations: 170.3 kB / 378.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.4146, allocations: 0.5353 MB / 378.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.4151, allocations: 162.7 kB / 378.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.4153, allocations: 96.5 kB / 378.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.4154, allocations: 4.078 kB / 378.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4154, allocations: 32.7 kB / 378.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.887e-06/0.4154, allocations: 4.375 kB / 378.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008878/0.4163, allocations: 263.4 kB / 379.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4164, allocations: 56.72 kB / 379.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4166, allocations: 192.6 kB / 379.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4167, allocations: 25.7 kB / 379.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4168, allocations: 112.9 kB / 379.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.4169, allocations: 48.48 kB / 379.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.417, allocations: 38.7 kB / 379.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4171, allocations: 327.9 kB / 380 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.4173, allocations: 64.97 kB / 380.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4175, allocations: 87.75 kB / 380.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.4181, allocations: 169.4 kB / 380.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4181, allocations: 0 / 380.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005809/0.4187, allocations: 220.2 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4187, allocations: 6.453 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4187, allocations: 0.5312 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4187, allocations: 1.5 kB / 380.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.419, allocations: 39.03 kB / 380.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.4191, allocations: 5.062 kB / 380.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.4192, allocations: 18.64 kB / 380.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.4193, allocations: 10.45 kB / 380.6 MB, free: 11.8 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.0001319/0.4194, allocations: 133.8 kB / 380.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.4195, allocations: 14.48 kB / 380.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.4203, allocations: 250.8 kB / 381 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4203, allocations: 3.328 kB / 381 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4203, allocations: 6 kB / 381 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.4203, allocations: 5.234 kB / 381 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.4207, allocations: 274.2 kB / 381.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4207, allocations: 0 / 381.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.421, allocations: 40.48 kB / 381.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.421, allocations: 0 / 381.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.421, allocations: 4.969 kB / 381.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.421, allocations: 3.938 kB / 381.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.421, allocations: 5.859 kB / 381.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.4216, allocations: 319.9 kB / 381.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.4217, allocations: 91.34 kB / 381.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.4217, allocations: 7.016 kB / 381.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4219, allocations: 6.625 kB / 381.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.422, allocations: 20.3 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.422, allocations: 6.766 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.4221, allocations: 144.9 kB / 381.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4221, allocations: 0.9062 kB / 381.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.4225, allocations: 31.58 kB / 381.9 MB, free: 10.89 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.000155/0.4226, allocations: 104.5 kB / 382 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.4232, allocations: 176.5 kB / 382.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4232, allocations: 0 / 382.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.4234, allocations: 102.7 kB / 382.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.4238, allocations: 25.66 kB / 382.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.4245, allocations: 315 kB / 382.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.4249, allocations: 0.7222 MB / 383.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.425, allocations: 36.33 kB / 383.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.4251, allocations: 30.89 kB / 383.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4251, allocations: 0 / 383.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of Templates: time 0.006293/0.4314, allocations: 1.979 MB / 385.4 MB, free: 9.652 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)