Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.001558/0.001558, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.709/1.709, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0005071/0.0005076, allocations: 12 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3646, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004621/0.3694, allocations: 2.205 MB / 329.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3716, allocations: 0.6749 MB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.3719, allocations: 6.312 kB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3721, allocations: 31.77 kB / 330.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.3724, allocations: 63.89 kB / 330.7 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3728, allocations: 70.02 kB / 330.8 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.3733, allocations: 291 kB / 331.1 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3736, allocations: 68.83 kB / 331.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.3739, allocations: 101 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3741, allocations: 124.8 kB / 331.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3742, allocations: 17.81 kB / 331.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.351e-05/0.3743, allocations: 14.47 kB / 331.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.486e-05/0.3744, allocations: 46.27 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3745, allocations: 67.52 kB / 331.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.3749, allocations: 219.8 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.3749, allocations: 1.344 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.3749, allocations: 4 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.3749, allocations: 0 / 331.7 MB, free: 14.38 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001642/0.3766, allocations: 0.5936 MB / 332.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/0.3767, allocations: 8.844 kB / 332.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3768, allocations: 29.78 kB / 332.4 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.3773, allocations: 264.9 kB / 332.6 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3774, allocations: 11.12 kB / 332.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.3775, allocations: 25.44 kB / 332.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.3782, allocations: 242.4 kB / 332.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3783, allocations: 4 kB / 332.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3783, allocations: 9.188 kB / 332.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3783, allocations: 5.406 kB / 332.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.3792, allocations: 271.4 kB / 333.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3813, allocations: 0.8532 MB / 334 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.3823, allocations: 268.9 kB / 334.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.3827, allocations: 114 kB / 334.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.3827, allocations: 2.125 kB / 334.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006967/0.3835, allocations: 185.4 kB / 334.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 5.49e-06/0.3835, allocations: 3.984 kB / 334.6 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002195/0.3857, allocations: 0.6534 MB / 335.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.3858, allocations: 77.11 kB / 335.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.3861, allocations: 240.9 kB / 335.5 MB, free: 11.42 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3862, allocations: 29.7 kB / 335.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3863, allocations: 156.1 kB / 335.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.3864, allocations: 51.3 kB / 335.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.3864, allocations: 4 kB / 335.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3866, allocations: 326.8 kB / 336.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.3869, allocations: 108 kB / 336.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3873, allocations: 159.2 kB / 336.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.3877, allocations: 145.6 kB / 336.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3877, allocations: 3.953 kB / 336.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001094/0.3888, allocations: 442.4 kB / 336.9 MB, free: 9.965 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.389, allocations: 159.9 kB / 337.1 MB, free: 9.777 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.3891, allocations: 4 kB / 337.1 MB, free: 9.773 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003888/0.3895, allocations: 52.81 kB / 337.2 MB, free: 9.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3897, allocations: 59.84 kB / 337.2 MB, free: 9.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.3918, allocations: 1.495 MB / 338.7 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3921, allocations: 47.88 kB / 338.8 MB, free: 7.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3921, allocations: 11.94 kB / 338.8 MB, free: 7.973 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3922, allocations: 4 kB / 338.8 MB, free: 7.969 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006643/0.3928, allocations: 286.3 kB / 339 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3929, allocations: 4 kB / 339.1 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.064e-05/0.3929, allocations: 28.78 kB / 339.1 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3932, allocations: 56.02 kB / 339.1 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.3945, allocations: 1.389 MB / 340.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.3948, allocations: 39.81 kB / 340.6 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3948, allocations: 8 kB / 340.6 MB, free: 6.02 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 (20): * Single equations (assignments): 18 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.3952, allocations: 213.1 kB / 340.8 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3952, allocations: 19.81 kB / 340.8 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.3953, allocations: 25.8 kB / 340.8 MB, free: 5.762 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3953, allocations: 4 kB / 340.8 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3953, allocations: 3.984 kB / 340.8 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3953, allocations: 0 / 340.8 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3958, allocations: 281.4 kB / 341.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3958, allocations: 0 / 341.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.396, allocations: 39.97 kB / 341.1 MB, free: 5.391 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.3962, allocations: 56.75 kB / 341.2 MB, free: 5.332 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.3963, allocations: 4 kB / 341.2 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.3983, allocations: 1.487 MB / 342.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3984, allocations: 0 / 342.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3997, allocations: 461.6 kB / 343.1 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.3999, allocations: 104.8 kB / 343.2 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4, allocations: 0 / 343.2 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4002, allocations: 39.91 kB / 343.3 MB, free: 3.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4003, allocations: 24.03 kB / 343.3 MB, free: 3.047 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4004, allocations: 7.984 kB / 343.3 MB, free: 3.039 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.4006, allocations: 164.5 kB / 343.5 MB, free: 2.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.4006, allocations: 4 kB / 343.5 MB, free: 2.875 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.4014, allocations: 107.7 kB / 343.6 MB, free: 2.77 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000269/0.4017, allocations: 107.2 kB / 343.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4033, allocations: 0.6877 MB / 344.4 MB, free: 1.918 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4033, allocations: 0 / 344.4 MB, free: 1.918 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.4038, allocations: 227.6 kB / 344.6 MB, free: 1.684 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4041, allocations: 40.36 kB / 344.6 MB, free: 1.645 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4054, allocations: 0.5995 MB / 345.2 MB, free: 1.023 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4058, allocations: 0.744 MB / 346 MB, free: 260 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.406, allocations: 25.92 kB / 346 MB, free: 232 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.4061, allocations: 19.44 kB / 346 MB, free: 212 kB / 270.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4061, allocations: 0 / 346 MB, free: 212 kB / 270.1 MB Notification: Performance of Templates: time 0.008748/0.4148, allocations: 3.244 MB / 349.3 MB, free: 12.96 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)