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.0131/0.0131, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002443/0.002443, 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.98/1.98, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001217/0.001217, allocations: 56.3 kB / 326.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 46.61 MB / 373.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004762/0.1259, allocations: 2.815 MB / 376 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1276, allocations: 0.7524 MB / 376.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1278, allocations: 7.938 kB / 376.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.128, allocations: 43.56 kB / 376.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1283, allocations: 99.19 kB / 376.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1286, allocations: 107.7 kB / 377 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.1292, allocations: 386.3 kB / 377.4 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.1294, allocations: 96.94 kB / 377.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1297, allocations: 155.3 kB / 377.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3027/0.4324, allocations: 155.4 kB / 377.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.4326, allocations: 32.28 kB / 377.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4327, allocations: 30.88 kB / 377.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.4328, allocations: 66.55 kB / 377.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.4331, allocations: 164.8 kB / 378.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.4336, allocations: 355 kB / 378.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4336, allocations: 1.094 kB / 378.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4336, allocations: 0 / 378.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4336, allocations: 3.562 kB / 378.4 MB, free: 9.98 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001367/0.435, allocations: 0.664 MB / 379.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4351, allocations: 9.625 kB / 379.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.4352, allocations: 35.97 kB / 379.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.4356, allocations: 285.4 kB / 379.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.4357, allocations: 17.44 kB / 379.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.4357, allocations: 21.12 kB / 379.5 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007452/0.4365, allocations: 266.5 kB / 379.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4365, allocations: 5.391 kB / 379.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.4365, allocations: 9.75 kB / 379.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4366, allocations: 6.906 kB / 379.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.4375, allocations: 270.1 kB / 380 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.4396, allocations: 0.8988 MB / 380.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.4406, allocations: 240.8 kB / 381.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.441, allocations: 111.6 kB / 381.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.441, allocations: 6.594 kB / 381.2 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005551/0.4416, allocations: 186 kB / 381.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/0.4416, allocations: 0 / 381.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002298/0.4439, allocations: 0.6173 MB / 382 MB, free: 8.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.444, allocations: 111.1 kB / 382.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.4443, allocations: 263.5 kB / 382.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.4444, allocations: 34.3 kB / 382.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4445, allocations: 182 kB / 382.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.4445, allocations: 51.78 kB / 382.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4447, allocations: 48.59 kB / 382.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4448, allocations: 334.2 kB / 383 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.4451, allocations: 106.9 kB / 383.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4455, allocations: 166.2 kB / 383.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.4462, allocations: 268.3 kB / 383.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4462, allocations: 1.375 kB / 383.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001205/0.4474, allocations: 429.7 kB / 384 MB, free: 7.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.4474, allocations: 33.92 kB / 384 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4475, allocations: 1.062 kB / 384 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.4481, allocations: 111.6 kB / 384.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4483, allocations: 49.67 kB / 384.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.4505, allocations: 1.886 MB / 386.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.4508, allocations: 49.34 kB / 386.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4509, allocations: 12.19 kB / 386.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003783/0.4513, allocations: 190 kB / 386.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003415/0.4516, allocations: 151.2 kB / 386.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006421/0.4523, allocations: 243.8 kB / 386.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.4523, allocations: 2.891 kB / 386.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0009848/0.4533, allocations: 352 kB / 387.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.4533, allocations: 34.12 kB / 387.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4533, allocations: 1.094 kB / 387.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.4535, allocations: 41.55 kB / 387.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4537, allocations: 49.66 kB / 387.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.4551, allocations: 1.719 MB / 388.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.4556, allocations: 44.53 kB / 388.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.4556, allocations: 7.016 kB / 388.9 MB, free: 3.578 MB / 318.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.000231/0.4558, allocations: 206.8 kB / 389.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.4559, allocations: 24.38 kB / 389.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.456, allocations: 26.64 kB / 389.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.456, allocations: 6.094 kB / 389.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4561, allocations: 3.938 kB / 389.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4561, allocations: 2.281 kB / 389.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4565, allocations: 312.7 kB / 389.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4565, allocations: 0 / 389.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4568, allocations: 28.67 kB / 389.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.4571, allocations: 64.02 kB / 389.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.4571, allocations: 10.75 kB / 389.6 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.4591, allocations: 1.717 MB / 391.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4591, allocations: 0 / 391.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.4604, allocations: 444.7 kB / 391.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.4605, allocations: 100.6 kB / 391.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.4605, allocations: 5.469 kB / 391.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.4608, allocations: 32.33 kB / 391.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.4608, allocations: 24.5 kB / 391.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4609, allocations: 2.531 kB / 391.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.4611, allocations: 195.4 kB / 392.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4611, allocations: 0 / 392.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006613/0.4618, allocations: 133.7 kB / 392.2 MB, free: 1.125 MB / 318.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.0001619/0.4619, allocations: 109.1 kB / 392.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.4635, allocations: 0.7215 MB / 393.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4636, allocations: 1.844 kB / 393.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.4642, allocations: 236.8 kB / 393.3 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.4647, allocations: 49.56 kB / 393.4 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4661, allocations: 0.5327 MB / 393.9 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.4667, allocations: 0.762 MB / 394.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.4669, allocations: 26.39 kB / 394.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.467, allocations: 23.69 kB / 394.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4671, allocations: 0 / 394.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.014/0.4811, allocations: 4.554 MB / 399.3 MB, free: 14.46 MB / 334.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)