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.001267/0.001267, allocations: 108 kB / 15.6 MB, free: 132 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.001355/0.001355, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.812/1.812, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.002322/0.002322, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4441, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005274/0.4495, allocations: 2.834 MB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.4512, allocations: 0.7463 MB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.4514, allocations: 4.875 kB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.4516, allocations: 43.42 kB / 328.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.4518, allocations: 96.36 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.4522, allocations: 104.6 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.4528, allocations: 390.2 kB / 329.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.453, allocations: 89.47 kB / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.4533, allocations: 151.3 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.4536, allocations: 160 kB / 329.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.4536, allocations: 39.97 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.4537, allocations: 32.56 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.4538, allocations: 71.34 kB / 330.1 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.4541, allocations: 157.7 kB / 330.2 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.4546, allocations: 356.2 kB / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4546, allocations: 1.312 kB / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4546, allocations: 0 / 330.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4546, allocations: 0 / 330.6 MB, free: 13.87 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.001632/0.4563, allocations: 0.6546 MB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4563, allocations: 8.969 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4564, allocations: 33.81 kB / 331.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.4569, allocations: 287.3 kB / 331.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.4569, allocations: 25.61 kB / 331.6 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.457, allocations: 24.38 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.4577, allocations: 259 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4578, allocations: 3.984 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.4578, allocations: 10.97 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4578, allocations: 5.5 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.4587, allocations: 269.9 kB / 332.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.4606, allocations: 0.9156 MB / 333 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008276/0.4615, allocations: 236.8 kB / 333.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.4618, allocations: 114.1 kB / 333.4 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4618, allocations: 7.938 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/0.4625, allocations: 177.8 kB / 333.6 MB, free: 11.47 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4625, allocations: 4 kB / 333.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.002214/0.4647, allocations: 0.612 MB / 334.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.4648, allocations: 110.8 kB / 334.3 MB, free: 10.69 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.4651, allocations: 266.5 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.4652, allocations: 37.7 kB / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.4654, allocations: 183.8 kB / 334.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.4654, allocations: 51.28 kB / 334.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.4655, allocations: 53.61 kB / 334.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4657, allocations: 338.8 kB / 335.2 MB, free: 9.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.4661, allocations: 105 kB / 335.3 MB, free: 9.645 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.4664, allocations: 156.1 kB / 335.4 MB, free: 9.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4671, allocations: 263.5 kB / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4671, allocations: 0 / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001131/0.4683, allocations: 431.6 kB / 336.1 MB, free: 8.742 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.4683, allocations: 29.7 kB / 336.2 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.4683, allocations: 4 kB / 336.2 MB, free: 8.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.4689, allocations: 108.8 kB / 336.3 MB, free: 8.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.4691, allocations: 47.97 kB / 336.3 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.4715, allocations: 1.884 MB / 338.2 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.4719, allocations: 47.78 kB / 338.2 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.4719, allocations: 15.98 kB / 338.3 MB, free: 6.453 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003746/0.4723, allocations: 184.3 kB / 338.4 MB, free: 6.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003074/0.4726, allocations: 152.3 kB / 338.6 MB, free: 6.094 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005309/0.4732, allocations: 255.4 kB / 338.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4732, allocations: 0 / 338.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008092/0.474, allocations: 347.5 kB / 339.2 MB, free: 5.461 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.4741, allocations: 37.7 kB / 339.2 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.4741, allocations: 0 / 339.2 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.4742, allocations: 48.81 kB / 339.3 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.4744, allocations: 44.34 kB / 339.3 MB, free: 5.324 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.4759, allocations: 1.728 MB / 341 MB, free: 3.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.4763, allocations: 39.81 kB / 341.1 MB, free: 3.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4763, allocations: 12 kB / 341.1 MB, free: 3.41 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.0001724/0.4765, allocations: 200.2 kB / 341.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.4765, allocations: 23.72 kB / 341.3 MB, free: 3.184 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.4766, allocations: 26.17 kB / 341.3 MB, free: 3.152 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4766, allocations: 4 kB / 341.3 MB, free: 3.148 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4766, allocations: 0 / 341.3 MB, free: 3.148 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4766, allocations: 11.81 kB / 341.3 MB, free: 3.137 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.477, allocations: 313.3 kB / 341.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.477, allocations: 0 / 341.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.4772, allocations: 31.97 kB / 341.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.4774, allocations: 68.98 kB / 341.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.4774, allocations: 4 kB / 341.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.4793, allocations: 1.719 MB / 343.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4793, allocations: 0 / 343.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4805, allocations: 441.3 kB / 343.9 MB, free: 376 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.4806, allocations: 104.8 kB / 344 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.4806, allocations: 0 / 344 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.4808, allocations: 31.95 kB / 344 MB, free: 220 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.4809, allocations: 23.97 kB / 344.1 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.481, allocations: 8 kB / 344.1 MB, free: 188 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.4812, allocations: 190 kB / 344.3 MB, free: 0 / 270.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4812, allocations: 0 / 344.3 MB, free: 0 / 270.1 MB Notification: Performance of remove unused functions: time 0.0006556/0.4819, allocations: 139.7 kB / 344.4 MB, free: 15.86 MB / 286.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.0002054/0.4821, allocations: 111 kB / 344.5 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.4836, allocations: 0.7107 MB / 345.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4837, allocations: 0.6875 kB / 345.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.4841, allocations: 239.3 kB / 345.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.4845, allocations: 55.62 kB / 345.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.4857, allocations: 0.542 MB / 346 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4861, allocations: 0.7561 MB / 346.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4862, allocations: 30.22 kB / 346.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.4863, allocations: 23.44 kB / 346.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4863, allocations: 3.938 kB / 346.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of Templates: time 0.00996/0.4963, allocations: 4.489 MB / 351.3 MB, free: 8.781 MB / 286.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)