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.001294/0.001295, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001512/0.001512, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004958/0.0004962, allocations: 15.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.386, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003373/0.3895, allocations: 2.119 MB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.3915, allocations: 0.683 MB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.3917, allocations: 3.469 kB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.3919, allocations: 27.33 kB / 329.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.3923, allocations: 97.94 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.3927, allocations: 63.33 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.3932, allocations: 207 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.3935, allocations: 64.09 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.3938, allocations: 107.8 kB / 329.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.394, allocations: 129.2 kB / 329.9 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.3941, allocations: 14.81 kB / 330 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.3942, allocations: 14.06 kB / 330 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.3942, allocations: 42.27 kB / 330 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3944, allocations: 70.64 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3947, allocations: 220.2 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3948, allocations: 0 / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3948, allocations: 0 / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3948, allocations: 1.188 kB / 330.3 MB, free: 14.47 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.001617/0.3964, allocations: 0.5885 MB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.3965, allocations: 8.219 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3966, allocations: 34.19 kB / 330.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.3972, allocations: 257 kB / 331.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.3972, allocations: 16.03 kB / 331.2 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.3973, allocations: 21.09 kB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.3981, allocations: 248.3 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3981, allocations: 0 / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.3982, allocations: 6.25 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3982, allocations: 8.766 kB / 331.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009607/0.3991, allocations: 280.3 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.401, allocations: 0.8412 MB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4021, allocations: 276.7 kB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.4021, allocations: 1.156 kB / 332.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006118/0.4027, allocations: 177.7 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.4027, allocations: 0 / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002301/0.405, allocations: 0.6528 MB / 333.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.4052, allocations: 81.09 kB / 333.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.4055, allocations: 236.9 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.4055, allocations: 33.69 kB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.4057, allocations: 168 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.4058, allocations: 47.3 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.4058, allocations: 4 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.406, allocations: 330.8 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.4063, allocations: 104.1 kB / 334.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.4067, allocations: 163.1 kB / 334.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.407, allocations: 133.7 kB / 335 MB, free: 10.69 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4071, allocations: 0 / 335 MB, free: 10.69 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001142/0.4082, allocations: 446.5 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003604/0.4086, allocations: 0.6413 MB / 336 MB, free: 9.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4086, allocations: 4 kB / 336 MB, free: 9.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.4089, allocations: 52.83 kB / 336.1 MB, free: 9.488 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.4092, allocations: 55.89 kB / 336.1 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4112, allocations: 1.522 MB / 337.7 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.4116, allocations: 51.88 kB / 337.7 MB, free: 7.727 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4116, allocations: 11.98 kB / 337.7 MB, free: 7.715 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.4116, allocations: 4 kB / 337.7 MB, free: 7.711 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007112/0.4123, allocations: 294.1 kB / 338 MB, free: 7.414 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.4124, allocations: 0 / 338 MB, free: 7.414 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.543e-05/0.4124, allocations: 29.03 kB / 338.1 MB, free: 7.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.4126, allocations: 47.97 kB / 338.1 MB, free: 7.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.4142, allocations: 1.388 MB / 339.5 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.4145, allocations: 35.81 kB / 339.5 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.4146, allocations: 12.22 kB / 339.5 MB, free: 5.766 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.0003106/0.4149, allocations: 209.3 kB / 339.7 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.4149, allocations: 19.75 kB / 339.8 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.415, allocations: 29.78 kB / 339.8 MB, free: 5.508 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.415, allocations: 4 kB / 339.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.415, allocations: 0 / 339.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.415, allocations: 0 / 339.8 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.4154, allocations: 285.5 kB / 340.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4154, allocations: 0 / 340.1 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.4156, allocations: 51.89 kB / 340.1 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.4158, allocations: 52.83 kB / 340.2 MB, free: 5.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4158, allocations: 7.984 kB / 340.2 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.4175, allocations: 1.51 MB / 341.7 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4175, allocations: 0 / 341.7 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.4186, allocations: 458.1 kB / 342.1 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.4187, allocations: 100.8 kB / 342.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4188, allocations: 8 kB / 342.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.419, allocations: 32.03 kB / 342.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4191, allocations: 19.97 kB / 342.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4191, allocations: 7.938 kB / 342.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4193, allocations: 172.5 kB / 342.5 MB, free: 2.594 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4194, allocations: 0 / 342.5 MB, free: 2.594 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005867/0.4199, allocations: 107.7 kB / 342.6 MB, free: 2.488 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.0001812/0.4201, allocations: 107.7 kB / 342.7 MB, free: 2.375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.4215, allocations: 0.6877 MB / 343.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4216, allocations: 0 / 343.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.422, allocations: 234.9 kB / 343.6 MB, free: 1.395 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.4223, allocations: 36.39 kB / 343.6 MB, free: 1.359 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4236, allocations: 0.5953 MB / 344.2 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.424, allocations: 0.7519 MB / 345 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.4242, allocations: 21.91 kB / 345 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.4242, allocations: 15.44 kB / 345 MB, free: 15.93 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4242, allocations: 0 / 345 MB, free: 15.93 MB / 286.1 MB Notification: Performance of Templates: time 0.006997/0.4312, allocations: 3.233 MB / 348.3 MB, free: 12.7 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: