Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001749/0.001749, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00229/0.00229, allocations: 193.7 kB / 16.14 MB, free: 6.66 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.867/1.867, allocations: 205.1 MB / 222 MB, free: 4.738 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.001307/0.001307, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003837/0.3111, allocations: 2.655 MB / 327.3 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3125, allocations: 0.7005 MB / 328 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3127, allocations: 4.531 kB / 328.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.313, allocations: 35.08 kB / 328.1 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.3132, allocations: 67.56 kB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3135, allocations: 82.66 kB / 328.2 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.3138, allocations: 300.4 kB / 328.5 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.314, allocations: 73.44 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.3143, allocations: 110.5 kB / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3145, allocations: 141.7 kB / 328.8 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.3145, allocations: 17.12 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.3146, allocations: 18.12 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.3146, allocations: 52.77 kB / 328.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.3148, allocations: 122.1 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3152, allocations: 292.1 kB / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3152, allocations: 0 / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3152, allocations: 1.375 kB / 329.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3152, allocations: 0 / 329.3 MB, free: 14.39 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.001415/0.3166, allocations: 0.6159 MB / 330 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3167, allocations: 9.844 kB / 330 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.3168, allocations: 26.38 kB / 330 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.3172, allocations: 266.1 kB / 330.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.3172, allocations: 16.05 kB / 330.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.3173, allocations: 25.75 kB / 330.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.3179, allocations: 238.2 kB / 330.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3179, allocations: 0 / 330.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.318, allocations: 9.938 kB / 330.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.318, allocations: 8.438 kB / 330.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.3188, allocations: 242.3 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.3205, allocations: 0.8262 MB / 331.6 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.3214, allocations: 233.7 kB / 331.8 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.3217, allocations: 96 kB / 331.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.3217, allocations: 1.188 kB / 331.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.3222, allocations: 162.7 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.886e-06/0.3222, allocations: 0 / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.00181/0.3241, allocations: 0.5404 MB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.3241, allocations: 79.83 kB / 332.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.3245, allocations: 245.7 kB / 332.9 MB, free: 11.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.3245, allocations: 29.7 kB / 333 MB, free: 11.61 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3247, allocations: 164 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.3247, allocations: 47.3 kB / 333.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.3248, allocations: 33.72 kB / 333.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.325, allocations: 338.8 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.3253, allocations: 96.72 kB / 333.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.3256, allocations: 147.3 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.3262, allocations: 246.5 kB / 334 MB, free: 10.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.3262, allocations: 4 kB / 334 MB, free: 10.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001009/0.3273, allocations: 383.6 kB / 334.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.3273, allocations: 33.7 kB / 334.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3273, allocations: 4 kB / 334.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.3278, allocations: 92.78 kB / 334.5 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.328, allocations: 47.84 kB / 334.6 MB, free: 9.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.3297, allocations: 1.444 MB / 336 MB, free: 8.332 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.33, allocations: 43.75 kB / 336.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.33, allocations: 12 kB / 336.1 MB, free: 8.277 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003645/0.3304, allocations: 168.1 kB / 336.2 MB, free: 8.109 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002817/0.3307, allocations: 135 kB / 336.4 MB, free: 7.953 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000482/0.3312, allocations: 219.6 kB / 336.6 MB, free: 7.711 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.07e-06/0.3312, allocations: 3.984 kB / 336.6 MB, free: 7.707 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006996/0.3319, allocations: 317.9 kB / 336.9 MB, free: 7.383 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.332, allocations: 29.7 kB / 336.9 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.332, allocations: 4 kB / 336.9 MB, free: 7.344 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-05/0.3321, allocations: 25.03 kB / 337 MB, free: 7.316 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3323, allocations: 47.91 kB / 337 MB, free: 7.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.3334, allocations: 1.377 MB / 338.4 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.3337, allocations: 35.81 kB / 338.4 MB, free: 5.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3337, allocations: 12 kB / 338.4 MB, free: 5.711 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 (20): * Single equations (assignments): 18 * 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.0001634/0.3339, allocations: 196.5 kB / 338.6 MB, free: 5.512 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.3339, allocations: 23.75 kB / 338.6 MB, free: 5.488 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.334, allocations: 17.84 kB / 338.7 MB, free: 5.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.334, allocations: 4.094 kB / 338.7 MB, free: 5.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.334, allocations: 4 kB / 338.7 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.334, allocations: 3.984 kB / 338.7 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.3343, allocations: 277.5 kB / 338.9 MB, free: 5.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3344, allocations: 4 kB / 338.9 MB, free: 5.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.3346, allocations: 31.91 kB / 339 MB, free: 5.109 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.3347, allocations: 48.81 kB / 339 MB, free: 5.059 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3348, allocations: 7.938 kB / 339 MB, free: 5.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.3362, allocations: 1.44 MB / 340.5 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3363, allocations: 0 / 340.5 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3373, allocations: 397.5 kB / 340.9 MB, free: 3.062 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.3374, allocations: 93.08 kB / 340.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.3374, allocations: 8 kB / 341 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3376, allocations: 23.91 kB / 341 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.3377, allocations: 27.89 kB / 341 MB, free: 2.895 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.3377, allocations: 8 kB / 341 MB, free: 2.887 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3379, allocations: 176.5 kB / 341.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 341.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005586/0.3385, allocations: 115.8 kB / 341.3 MB, free: 2.602 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 (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.000157/0.3386, allocations: 103.1 kB / 341.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.3399, allocations: 0.645 MB / 342 MB, free: 1.797 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.34, allocations: 0 / 342 MB, free: 1.797 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3404, allocations: 231.2 kB / 342.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3407, allocations: 37.2 kB / 342.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.342, allocations: 0.5707 MB / 342.9 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3425, allocations: 0.7363 MB / 343.6 MB, free: 172 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3426, allocations: 25.94 kB / 343.6 MB, free: 144 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.3427, allocations: 15.44 kB / 343.7 MB, free: 128 kB / 270.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3427, allocations: 4 kB / 343.7 MB, free: 124 kB / 270.1 MB Notification: Performance of Templates: time 0.008445/0.3512, allocations: 3.366 MB / 347 MB, free: 12.76 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)