Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008085/0.008084, allocations: 105 kB / 15.73 MB, free: 6.055 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.001442/0.001442, allocations: 190.7 kB / 16.67 MB, free: 5.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.685/1.685, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001271/0.001271, allocations: 55.92 kB / 326.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005925/0.1311, allocations: 2.819 MB / 376 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1335, allocations: 0.7524 MB / 376.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.1338, allocations: 8 kB / 376.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.1341, allocations: 47.5 kB / 376.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1345, allocations: 99.17 kB / 376.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.135, allocations: 99.8 kB / 377 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.1355, allocations: 394.3 kB / 377.4 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.1359, allocations: 96.92 kB / 377.5 MB, free: 212 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1361, allocations: 147.4 kB / 377.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3434/0.4795, allocations: 156.6 kB / 377.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.4798, allocations: 35.88 kB / 377.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.48, allocations: 32.59 kB / 377.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.4801, allocations: 66.69 kB / 377.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.4806, allocations: 158.8 kB / 378.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.4816, allocations: 359.9 kB / 378.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4817, allocations: 2.688 kB / 378.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.4817, allocations: 0 / 378.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.4817, allocations: 0 / 378.4 MB, free: 9.961 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.002499/0.4842, allocations: 0.6734 MB / 379.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.773e-05/0.4843, allocations: 9.5 kB / 379.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.4846, allocations: 37.8 kB / 379.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.4854, allocations: 286.7 kB / 379.4 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.4855, allocations: 21.23 kB / 379.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.4856, allocations: 22.5 kB / 379.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.4865, allocations: 261.3 kB / 379.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.4866, allocations: 7.469 kB / 379.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.4866, allocations: 8.281 kB / 379.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4867, allocations: 9.25 kB / 379.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.4878, allocations: 270.1 kB / 380 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.4908, allocations: 0.907 MB / 380.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.492, allocations: 244.8 kB / 381.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.4924, allocations: 101.6 kB / 381.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.4925, allocations: 9.094 kB / 381.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.4931, allocations: 178.8 kB / 381.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.4931, allocations: 0 / 381.4 MB, free: 8.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.002625/0.4957, allocations: 0.6148 MB / 382.1 MB, free: 8.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.4958, allocations: 110.3 kB / 382.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.4963, allocations: 263.2 kB / 382.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.4964, allocations: 29.98 kB / 382.5 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.4966, allocations: 192.2 kB / 382.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.4967, allocations: 57.75 kB / 382.7 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.4968, allocations: 49.33 kB / 382.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.497, allocations: 330.7 kB / 383.1 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.4974, allocations: 104.9 kB / 383.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.4979, allocations: 173.5 kB / 383.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.4987, allocations: 256.7 kB / 383.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4987, allocations: 4 kB / 383.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001456/0.5002, allocations: 431.5 kB / 384 MB, free: 7.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.5002, allocations: 37.8 kB / 384.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5003, allocations: 1.25 kB / 384.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.5009, allocations: 108.7 kB / 384.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.5012, allocations: 48.89 kB / 384.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.5039, allocations: 1.893 MB / 386.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.5043, allocations: 47.17 kB / 386.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.5044, allocations: 7.359 kB / 386.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004954/0.5049, allocations: 191.5 kB / 386.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003691/0.5053, allocations: 145.7 kB / 386.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007069/0.506, allocations: 244.8 kB / 386.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.466e-06/0.506, allocations: 1.219 kB / 386.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.001044/0.5071, allocations: 358.1 kB / 387.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.5071, allocations: 33.12 kB / 387.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5072, allocations: 2.594 kB / 387.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.5074, allocations: 46.05 kB / 387.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.5076, allocations: 52.28 kB / 387.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.5091, allocations: 1.722 MB / 388.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.5095, allocations: 45.17 kB / 389 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.5095, allocations: 11.22 kB / 389 MB, free: 3.523 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.0002351/0.5098, allocations: 197.9 kB / 389.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.5098, allocations: 24.39 kB / 389.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.982e-05/0.5099, allocations: 26.92 kB / 389.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.51, allocations: 2.953 kB / 389.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.51, allocations: 0 / 389.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.51, allocations: 6.453 kB / 389.2 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.5106, allocations: 316 kB / 389.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5106, allocations: 0 / 389.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.5109, allocations: 30.22 kB / 389.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.5112, allocations: 68.52 kB / 389.6 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.5113, allocations: 5.734 kB / 389.6 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.5139, allocations: 1.715 MB / 391.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5139, allocations: 0.7031 kB / 391.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.5155, allocations: 439.4 kB / 391.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.5157, allocations: 105.6 kB / 391.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.5158, allocations: 10.8 kB / 391.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5161, allocations: 25.72 kB / 391.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5162, allocations: 29 kB / 392 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.5163, allocations: 5.219 kB / 392 MB, free: 1.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003449/0.5166, allocations: 190.9 kB / 392.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5166, allocations: 0 / 392.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001042/0.5177, allocations: 141.7 kB / 392.3 MB, free: 1.07 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.0002598/0.5179, allocations: 106.5 kB / 392.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.5201, allocations: 0.7088 MB / 393.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.5201, allocations: 4.188 kB / 393.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.5207, allocations: 240.5 kB / 393.3 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.5213, allocations: 56.45 kB / 393.4 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5231, allocations: 0.5356 MB / 393.9 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.5238, allocations: 0.7624 MB / 394.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.5241, allocations: 27.19 kB / 394.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.5242, allocations: 22.81 kB / 394.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5242, allocations: 0 / 394.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Templates: time 0.01633/0.5405, allocations: 4.562 MB / 399.3 MB, free: 14.41 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)