Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001411/0.001411, allocations: 200 kB / 18.01 MB, free: 5.055 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.748/1.748, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001488/0.001488, allocations: 52.25 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1466, allocations: 46.62 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005969/0.1527, allocations: 2.811 MB / 377.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1546, allocations: 0.7563 MB / 378.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1548, allocations: 11.94 kB / 378.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1551, allocations: 43.56 kB / 378.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1553, allocations: 99.12 kB / 378.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1557, allocations: 103.8 kB / 378.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.1562, allocations: 382.3 kB / 378.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.1565, allocations: 108.9 kB / 378.8 MB, free: 212 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.1568, allocations: 147.4 kB / 379 MB, free: 64 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4234/0.5803, allocations: 163.1 kB / 379.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.5806, allocations: 33.38 kB / 379.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.5808, allocations: 32.09 kB / 379.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.5809, allocations: 72.06 kB / 379.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.5813, allocations: 161.5 kB / 379.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.5821, allocations: 358.8 kB / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.5821, allocations: 0.8438 kB / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5822, allocations: 0 / 379.8 MB, free: 9.977 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.5822, allocations: 0 / 379.8 MB, free: 9.977 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.001901/0.5841, allocations: 0.6663 MB / 380.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.962e-05/0.5842, allocations: 9.531 kB / 380.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.5843, allocations: 33.91 kB / 380.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.5851, allocations: 290.9 kB / 380.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5852, allocations: 17.31 kB / 380.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.5852, allocations: 22 kB / 380.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.5861, allocations: 267 kB / 381.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.5861, allocations: 4.5 kB / 381.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.5862, allocations: 12 kB / 381.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.5862, allocations: 5.5 kB / 381.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5872, allocations: 267.8 kB / 381.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.5894, allocations: 0.8802 MB / 382.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.5905, allocations: 350.5 kB / 382.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.591, allocations: 132.2 kB / 382.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.5911, allocations: 4.547 kB / 382.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.5917, allocations: 193.9 kB / 382.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.685e-06/0.5917, allocations: 0 / 382.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002363/0.594, allocations: 0.5767 MB / 383.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5942, allocations: 110.3 kB / 383.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.5947, allocations: 268 kB / 383.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.5947, allocations: 28.08 kB / 383.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.5949, allocations: 177.1 kB / 384 MB, free: 8.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.595, allocations: 59.22 kB / 384.1 MB, free: 8.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5951, allocations: 51 kB / 384.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5953, allocations: 342 kB / 384.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.5958, allocations: 105 kB / 384.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.5963, allocations: 174.1 kB / 384.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.5972, allocations: 275.4 kB / 385 MB, free: 7.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5972, allocations: 0 / 385 MB, free: 7.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001461/0.5987, allocations: 417.2 kB / 385.4 MB, free: 7.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.5987, allocations: 42.31 kB / 385.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5987, allocations: 1.312 kB / 385.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.5993, allocations: 88.2 kB / 385.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.5997, allocations: 65.83 kB / 385.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.6016, allocations: 1.554 MB / 387.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.6021, allocations: 49.84 kB / 387.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.6021, allocations: 16.42 kB / 387.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004707/0.6026, allocations: 189.3 kB / 387.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004104/0.603, allocations: 166.2 kB / 387.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006801/0.6037, allocations: 257.7 kB / 387.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.6037, allocations: 1.094 kB / 387.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009673/0.6047, allocations: 340.8 kB / 388.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.6048, allocations: 33.67 kB / 388.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6048, allocations: 1.219 kB / 388.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.6049, allocations: 31.27 kB / 388.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.6052, allocations: 61.98 kB / 388.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.6063, allocations: 1.546 MB / 389.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.6067, allocations: 44.92 kB / 389.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.6068, allocations: 15.5 kB / 389.9 MB, free: 3.773 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.607, allocations: 194.1 kB / 390.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.607, allocations: 28.05 kB / 390.1 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.6072, allocations: 31.97 kB / 390.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6072, allocations: 5.094 kB / 390.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6072, allocations: 2.234 kB / 390.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.6072, allocations: 0.5156 kB / 390.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.6091, allocations: 0.7047 MB / 390.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6091, allocations: 0.7969 kB / 390.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.6093, allocations: 43.27 kB / 390.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.6096, allocations: 52.17 kB / 390.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6096, allocations: 9.688 kB / 391 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.6113, allocations: 1.545 MB / 392.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6113, allocations: 5.062 kB / 392.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.6128, allocations: 0.5074 MB / 393 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6129, allocations: 103.1 kB / 393.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.613, allocations: 6.344 kB / 393.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.6133, allocations: 36.03 kB / 393.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6134, allocations: 21.44 kB / 393.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.6135, allocations: 5.438 kB / 393.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.6138, allocations: 193.5 kB / 393.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6138, allocations: 0 / 393.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008678/0.6147, allocations: 131.2 kB / 393.5 MB, free: 1.121 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.615, allocations: 106.3 kB / 393.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.6169, allocations: 0.7103 MB / 394.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6169, allocations: 0 / 394.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.6175, allocations: 231.9 kB / 394.5 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.6181, allocations: 57.25 kB / 394.6 MB, free: 428 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.6198, allocations: 0.5469 MB / 395.1 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.6204, allocations: 0.7596 MB / 395.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.6206, allocations: 29.84 kB / 395.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.6207, allocations: 21.58 kB / 396 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6207, allocations: 1.625 kB / 396 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Templates: time 0.01592/0.6367, allocations: 4.426 MB / 400.4 MB, free: 14.52 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)