Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001514, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002482/0.002482, allocations: 191.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001157/0.001157, allocations: 55.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3235, allocations: 46.62 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003767/0.3273, allocations: 2.869 MB / 327.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3288, allocations: 0.7457 MB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.329, allocations: 5.469 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3292, allocations: 35.72 kB / 328.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.3294, allocations: 85.33 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3297, allocations: 91.06 kB / 328.7 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.3302, allocations: 386.1 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.3304, allocations: 98.34 kB / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.3306, allocations: 147 kB / 329.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3308, allocations: 163.9 kB / 329.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.3309, allocations: 31.91 kB / 329.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.331, allocations: 32.56 kB / 329.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.3311, allocations: 66.58 kB / 329.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3312, allocations: 162.1 kB / 329.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.3316, allocations: 361.6 kB / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3316, allocations: 0 / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3317, allocations: 0 / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3317, allocations: 4 kB / 330.1 MB, free: 13.92 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.001281/0.333, allocations: 0.6597 MB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.333, allocations: 8.781 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.3331, allocations: 32.59 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3335, allocations: 283.9 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3335, allocations: 13.75 kB / 331.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.3335, allocations: 23.5 kB / 331.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3342, allocations: 280.3 kB / 331.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3342, allocations: 0 / 331.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.3343, allocations: 10.22 kB / 331.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3343, allocations: 5.531 kB / 331.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.335, allocations: 269.6 kB / 331.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3367, allocations: 0.9131 MB / 332.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.3374, allocations: 239.8 kB / 332.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.3378, allocations: 106.1 kB / 332.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3378, allocations: 3.438 kB / 332.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.3384, allocations: 180.3 kB / 333.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3384, allocations: 0 / 333.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002003/0.3404, allocations: 0.6239 MB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3405, allocations: 110.8 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.3409, allocations: 270.5 kB / 334.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3409, allocations: 25.7 kB / 334.1 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3411, allocations: 183.8 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.3411, allocations: 55.28 kB / 334.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.3413, allocations: 45.61 kB / 334.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.3415, allocations: 334.8 kB / 334.7 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.3419, allocations: 105 kB / 334.8 MB, free: 9.812 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.3422, allocations: 168.8 kB / 335 MB, free: 9.621 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.3428, allocations: 255.5 kB / 335.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3428, allocations: 0 / 335.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001024/0.3439, allocations: 427.4 kB / 335.7 MB, free: 8.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.3439, allocations: 37.88 kB / 335.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3439, allocations: 4 kB / 335.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.3445, allocations: 108.8 kB / 335.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3447, allocations: 51.89 kB / 335.9 MB, free: 8.703 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.3471, allocations: 1.884 MB / 337.7 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.3474, allocations: 51.69 kB / 337.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3475, allocations: 8 kB / 337.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003277/0.3478, allocations: 184.3 kB / 338 MB, free: 6.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/0.3482, allocations: 160.3 kB / 338.1 MB, free: 6.246 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000557/0.3488, allocations: 243.5 kB / 338.4 MB, free: 5.98 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.3488, allocations: 0 / 338.4 MB, free: 5.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007895/0.3496, allocations: 351.5 kB / 338.7 MB, free: 5.621 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.3497, allocations: 33.69 kB / 338.8 MB, free: 5.582 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3497, allocations: 4 kB / 338.8 MB, free: 5.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.3498, allocations: 41.03 kB / 338.8 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.35, allocations: 51.89 kB / 338.8 MB, free: 5.484 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3516, allocations: 1.728 MB / 340.6 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.3519, allocations: 47.91 kB / 340.6 MB, free: 3.574 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.352, allocations: 8 kB / 340.6 MB, free: 3.566 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.3521, allocations: 196.1 kB / 340.8 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.3522, allocations: 23.72 kB / 340.8 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.3523, allocations: 30.17 kB / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3523, allocations: 0 / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3523, allocations: 0 / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3523, allocations: 3.938 kB / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3526, allocations: 317.2 kB / 341.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3526, allocations: 3.984 kB / 341.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3528, allocations: 35.97 kB / 341.2 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.353, allocations: 57 kB / 341.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3531, allocations: 8 kB / 341.3 MB, free: 2.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.3549, allocations: 1.723 MB / 343 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.355, allocations: 0 / 343 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3561, allocations: 449.2 kB / 343.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.3562, allocations: 100.8 kB / 343.5 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.3562, allocations: 8 kB / 343.6 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.3564, allocations: 28.03 kB / 343.6 MB, free: 376 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3566, allocations: 23.97 kB / 343.6 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3566, allocations: 4 kB / 343.6 MB, free: 348 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.3568, allocations: 198 kB / 343.8 MB, free: 152 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3568, allocations: 0 / 343.8 MB, free: 152 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005816/0.3574, allocations: 131.7 kB / 343.9 MB, free: 20 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.3575, allocations: 107.2 kB / 344 MB, free: 15.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3589, allocations: 0.711 MB / 344.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3589, allocations: 3.938 kB / 344.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.3594, allocations: 242.5 kB / 345 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3597, allocations: 53.03 kB / 345 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3609, allocations: 0.6278 MB / 345.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3612, allocations: 0.7561 MB / 346.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3614, allocations: 26.28 kB / 346.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3614, allocations: 19.44 kB / 346.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3614, allocations: 3.938 kB / 346.5 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Templates: time 0.008248/0.3697, allocations: 4.399 MB / 350.9 MB, free: 8.949 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)