Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001628, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.7/1.7, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001428/0.001428, allocations: 55.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3206, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005552/0.3261, allocations: 2.835 MB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3279, allocations: 0.7378 MB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.3281, allocations: 4.938 kB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.3283, allocations: 47.56 kB / 328.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.3286, allocations: 96.59 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3289, allocations: 104.6 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.3295, allocations: 394.6 kB / 329.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.3298, allocations: 95.19 kB / 329.6 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.3301, allocations: 147.5 kB / 329.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.3304, allocations: 171.8 kB / 329.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3305, allocations: 32.5 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3307, allocations: 32.19 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3308, allocations: 67.06 kB / 330.1 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.331, allocations: 157.2 kB / 330.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.3316, allocations: 357.8 kB / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3316, allocations: 0 / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3316, allocations: 0 / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3316, allocations: 1.219 kB / 330.6 MB, free: 13.86 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001718/0.3334, allocations: 0.6637 MB / 331.2 MB, free: 13.28 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.3334, allocations: 14.03 kB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3336, allocations: 33.28 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.334, allocations: 283.2 kB / 331.6 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.334, allocations: 17.66 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.3341, allocations: 19.53 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.3349, allocations: 273.8 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3349, allocations: 0 / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.3349, allocations: 10.75 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.335, allocations: 4.656 kB / 331.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.3358, allocations: 270.6 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3376, allocations: 0.8901 MB / 333 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/0.3385, allocations: 347.5 kB / 333.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.339, allocations: 136.8 kB / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.339, allocations: 0 / 333.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005875/0.3396, allocations: 197.6 kB / 333.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3397, allocations: 0 / 333.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002228/0.3419, allocations: 0.5759 MB / 334.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.342, allocations: 106.8 kB / 334.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.3423, allocations: 270.6 kB / 334.6 MB, free: 10.33 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3424, allocations: 29.7 kB / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3425, allocations: 188 kB / 334.8 MB, free: 10.1 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.3426, allocations: 55.19 kB / 334.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.3427, allocations: 53.84 kB / 335 MB, free: 9.988 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3428, allocations: 334.8 kB / 335.3 MB, free: 9.652 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.3432, allocations: 113.4 kB / 335.4 MB, free: 9.539 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/0.3436, allocations: 164.1 kB / 335.6 MB, free: 9.352 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.3443, allocations: 267.6 kB / 335.8 MB, free: 9.062 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3444, allocations: 4 kB / 335.8 MB, free: 9.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001154/0.3455, allocations: 427.5 kB / 336.2 MB, free: 8.625 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.3456, allocations: 33.7 kB / 336.3 MB, free: 8.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3456, allocations: 0 / 336.3 MB, free: 8.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.3461, allocations: 92.78 kB / 336.4 MB, free: 8.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.3463, allocations: 63.89 kB / 336.4 MB, free: 8.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.3484, allocations: 1.562 MB / 338 MB, free: 6.727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.3488, allocations: 55.67 kB / 338 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.3489, allocations: 12 kB / 338 MB, free: 6.66 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003902/0.3493, allocations: 188.4 kB / 338.2 MB, free: 6.473 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003435/0.3496, allocations: 152.1 kB / 338.4 MB, free: 6.297 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005929/0.3503, allocations: 259.4 kB / 338.6 MB, free: 6.016 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.3503, allocations: 4 kB / 338.6 MB, free: 6.012 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008206/0.3511, allocations: 343.4 kB / 339 MB, free: 5.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.3511, allocations: 37.89 kB / 339 MB, free: 5.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3512, allocations: 4 kB / 339 MB, free: 5.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.242e-05/0.3512, allocations: 24.84 kB / 339 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3515, allocations: 55.89 kB / 339.1 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.3527, allocations: 1.544 MB / 340.6 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.3531, allocations: 43.91 kB / 340.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3532, allocations: 12 kB / 340.7 MB, free: 3.793 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.3533, allocations: 200.1 kB / 340.9 MB, free: 3.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.3534, allocations: 27.66 kB / 340.9 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.3535, allocations: 34.05 kB / 340.9 MB, free: 3.531 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3535, allocations: 4 kB / 341 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3535, allocations: 0 / 341 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3535, allocations: 4 kB / 341 MB, free: 3.523 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.355, allocations: 0.7066 MB / 341.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.355, allocations: 0 / 341.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.3553, allocations: 43.91 kB / 341.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.3555, allocations: 48.81 kB / 341.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3555, allocations: 8.031 kB / 341.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.3573, allocations: 1.555 MB / 343.3 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3573, allocations: 4.031 kB / 343.3 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.3586, allocations: 0.5068 MB / 343.8 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.3588, allocations: 92.83 kB / 343.9 MB, free: 324 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.3588, allocations: 11.94 kB / 343.9 MB, free: 312 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.3591, allocations: 36.02 kB / 344 MB, free: 276 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3593, allocations: 23.97 kB / 344 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3593, allocations: 4 kB / 344 MB, free: 248 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.3595, allocations: 193.9 kB / 344.2 MB, free: 56 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 344.2 MB, free: 56 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006967/0.3602, allocations: 127.7 kB / 344.3 MB, free: 15.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.3604, allocations: 107.2 kB / 344.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3621, allocations: 0.711 MB / 345.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3621, allocations: 0 / 345.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.3626, allocations: 234.5 kB / 345.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.3632, allocations: 54 kB / 345.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3646, allocations: 0.5624 MB / 346 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.365, allocations: 0.7599 MB / 346.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001633/0.3652, allocations: 30.22 kB / 346.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.3653, allocations: 27.44 kB / 346.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3653, allocations: 0 / 346.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of Templates: time 0.01151/0.3768, allocations: 4.228 MB / 351 MB, free: 9.09 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)