Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001445/0.001446, allocations: 86.67 kB / 16.31 MB, free: 6.449 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.001396/0.001396, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.831/1.831, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0005315/0.0005316, allocations: 15.98 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3608, allocations: 47.59 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003079/0.364, allocations: 2.399 MB / 330.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3659, allocations: 0.714 MB / 330.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.3661, allocations: 7.938 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.3663, allocations: 39.66 kB / 330.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.3665, allocations: 76.78 kB / 331 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.3668, allocations: 79.5 kB / 331.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.3673, allocations: 345.4 kB / 331.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.3676, allocations: 75.67 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3678, allocations: 125.3 kB / 331.6 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3681, allocations: 140.1 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.3681, allocations: 17.03 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.3682, allocations: 16.69 kB / 331.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.3683, allocations: 54.09 kB / 331.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3684, allocations: 72.48 kB / 331.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.3687, allocations: 261.8 kB / 332.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.3688, allocations: 1.188 kB / 332.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3688, allocations: 0 / 332.1 MB, free: 14.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3688, allocations: 0 / 332.1 MB, free: 14.08 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.00155/0.3703, allocations: 0.637 MB / 332.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/0.3704, allocations: 13.12 kB / 332.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3705, allocations: 43.91 kB / 332.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.371, allocations: 270.4 kB / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.371, allocations: 18.41 kB / 333.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.3711, allocations: 24 kB / 333.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.3718, allocations: 279.4 kB / 333.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3719, allocations: 0 / 333.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.3719, allocations: 5.938 kB / 333.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3719, allocations: 5.75 kB / 333.4 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.3728, allocations: 306.5 kB / 333.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3746, allocations: 0.9384 MB / 334.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.3756, allocations: 285.7 kB / 334.9 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.376, allocations: 125 kB / 335.1 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.376, allocations: 5.297 kB / 335.1 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/0.3766, allocations: 194.8 kB / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.3766, allocations: 0 / 335.3 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002132/0.3787, allocations: 0.737 MB / 336 MB, free: 10.97 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.3789, allocations: 110.8 kB / 336.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.3792, allocations: 262.6 kB / 336.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.3793, allocations: 29.7 kB / 336.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3794, allocations: 187.8 kB / 336.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.3795, allocations: 55.2 kB / 336.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.3795, allocations: 4 kB / 336.6 MB, free: 10.29 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3797, allocations: 338.8 kB / 337 MB, free: 9.953 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.38, allocations: 116.2 kB / 337.1 MB, free: 9.84 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.3804, allocations: 172.8 kB / 337.2 MB, free: 9.645 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.3808, allocations: 146.4 kB / 337.4 MB, free: 9.496 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3808, allocations: 7.938 kB / 337.4 MB, free: 9.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001222/0.382, allocations: 478.1 kB / 337.9 MB, free: 9.008 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.3821, allocations: 167.8 kB / 338 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3822, allocations: 0 / 338 MB, free: 8.812 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.3825, allocations: 80.8 kB / 338.1 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3828, allocations: 47.91 kB / 338.2 MB, free: 8.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.3849, allocations: 1.745 MB / 339.9 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.3853, allocations: 55.66 kB / 340 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.3853, allocations: 16.06 kB / 340 MB, free: 6.727 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.3853, allocations: 4 kB / 340 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007892/0.3861, allocations: 334.6 kB / 340.3 MB, free: 6.387 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3862, allocations: 4 kB / 340.3 MB, free: 6.383 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-05/0.3863, allocations: 36.84 kB / 340.3 MB, free: 6.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.3865, allocations: 51.94 kB / 340.4 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.388, allocations: 1.538 MB / 341.9 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.3884, allocations: 47.98 kB / 342 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.3884, allocations: 16 kB / 342 MB, free: 4.559 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.3887, allocations: 217.6 kB / 342.2 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.3888, allocations: 23.72 kB / 342.2 MB, free: 4.312 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.3889, allocations: 34.12 kB / 342.3 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3889, allocations: 0 / 342.3 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3889, allocations: 0 / 342.3 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3889, allocations: 3.984 kB / 342.3 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.3894, allocations: 309.4 kB / 342.6 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3894, allocations: 0 / 342.6 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3896, allocations: 39.97 kB / 342.6 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.3898, allocations: 68.81 kB / 342.7 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3899, allocations: 0 / 342.7 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.3919, allocations: 1.652 MB / 344.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3919, allocations: 0 / 344.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.3931, allocations: 0.4973 MB / 344.8 MB, free: 1.512 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.3932, allocations: 100.8 kB / 344.9 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3932, allocations: 4 kB / 344.9 MB, free: 1.391 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3935, allocations: 44.03 kB / 345 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.3936, allocations: 23.95 kB / 345 MB, free: 1.324 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3936, allocations: 7.938 kB / 345 MB, free: 1.316 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3938, allocations: 186 kB / 345.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3938, allocations: 7.875 kB / 345.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.3944, allocations: 135.7 kB / 345.3 MB, free: 0.9961 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.3946, allocations: 111.2 kB / 345.4 MB, free: 0.875 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3959, allocations: 0.7459 MB / 346.2 MB, free: 80 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.396, allocations: 0 / 346.2 MB, free: 80 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.3965, allocations: 255 kB / 346.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3969, allocations: 57.55 kB / 346.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3982, allocations: 0.6352 MB / 347.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.3987, allocations: 0.7561 MB / 347.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3989, allocations: 26.28 kB / 347.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.3989, allocations: 19.44 kB / 347.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3989, allocations: 0 / 347.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of Templates: time 0.009107/0.4081, allocations: 3.999 MB / 351.9 MB, free: 10.27 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)