Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001021/0.001021, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01477/0.01477, allocations: 170 kB / 16.26 MB, free: 6.613 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.851/1.851, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004696/0.0004696, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003523/0.331, allocations: 2.298 MB / 329.3 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3328, allocations: 0.6913 MB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.3331, allocations: 3.594 kB / 330 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.3333, allocations: 31.33 kB / 330.1 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3335, allocations: 70.67 kB / 330.1 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.3339, allocations: 79.41 kB / 330.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.3343, allocations: 304.5 kB / 330.5 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.3347, allocations: 73.33 kB / 330.6 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.335, allocations: 105.5 kB / 330.7 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.3352, allocations: 125.3 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.3353, allocations: 14.12 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.3354, allocations: 14.97 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.3354, allocations: 56.78 kB / 330.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.3356, allocations: 143 kB / 331 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.3361, allocations: 284.4 kB / 331.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3361, allocations: 0 / 331.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3361, allocations: 4 kB / 331.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3361, allocations: 1.344 kB / 331.3 MB, free: 14.13 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.001515/0.3376, allocations: 0.5861 MB / 331.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.3377, allocations: 9.219 kB / 331.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.533e-05/0.3378, allocations: 30.53 kB / 331.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3382, allocations: 265.8 kB / 332.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.3383, allocations: 13.5 kB / 332.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.3383, allocations: 19.97 kB / 332.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.3391, allocations: 259.5 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3391, allocations: 9.156 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.3391, allocations: 5.125 kB / 332.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3391, allocations: 4.906 kB / 332.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.3401, allocations: 277.4 kB / 332.8 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3419, allocations: 0.8493 MB / 333.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.3429, allocations: 268.5 kB / 333.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.3433, allocations: 110.6 kB / 334 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3433, allocations: 2.219 kB / 334 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.3439, allocations: 177.8 kB / 334.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.3439, allocations: 0 / 334.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002031/0.3459, allocations: 0.6644 MB / 334.8 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.346, allocations: 85.11 kB / 334.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.3463, allocations: 233 kB / 335.1 MB, free: 11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3464, allocations: 29.7 kB / 335.2 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3465, allocations: 160 kB / 335.3 MB, free: 10.81 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.3466, allocations: 51.38 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3467, allocations: 21.7 kB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3468, allocations: 334.8 kB / 335.7 MB, free: 10.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.3472, allocations: 103.9 kB / 335.8 MB, free: 10.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.3475, allocations: 166.7 kB / 336 MB, free: 10.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.3482, allocations: 275.5 kB / 336.3 MB, free: 9.809 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3482, allocations: 0 / 336.3 MB, free: 9.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00114/0.3494, allocations: 446.4 kB / 336.7 MB, free: 9.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.3495, allocations: 163.9 kB / 336.9 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3496, allocations: 3.938 kB / 336.9 MB, free: 9.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.3501, allocations: 124.7 kB / 337 MB, free: 9.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3503, allocations: 51.91 kB / 337 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.3523, allocations: 1.507 MB / 338.5 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3527, allocations: 47.73 kB / 338.6 MB, free: 7.301 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3527, allocations: 16.06 kB / 338.6 MB, free: 7.285 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3527, allocations: 4 kB / 338.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007104/0.3535, allocations: 298.3 kB / 338.9 MB, free: 6.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3535, allocations: 0 / 338.9 MB, free: 6.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.212e-05/0.3536, allocations: 24.84 kB / 338.9 MB, free: 6.953 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3538, allocations: 52 kB / 339 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.3551, allocations: 1.381 MB / 340.4 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.3553, allocations: 39.84 kB / 340.4 MB, free: 5.348 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3554, allocations: 11.94 kB / 340.4 MB, free: 5.336 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.0002681/0.3556, allocations: 209.1 kB / 340.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.3557, allocations: 27.81 kB / 340.6 MB, free: 5.094 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3557, allocations: 25.83 kB / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3558, allocations: 0 / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3558, allocations: 0 / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3558, allocations: 7.938 kB / 340.7 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.3561, allocations: 277.5 kB / 340.9 MB, free: 4.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3561, allocations: 0 / 340.9 MB, free: 4.746 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3563, allocations: 43.91 kB / 341 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.3565, allocations: 56.81 kB / 341 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.3566, allocations: 8 kB / 341 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.3583, allocations: 1.491 MB / 342.5 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3583, allocations: 0 / 342.5 MB, free: 3.008 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3595, allocations: 469.5 kB / 343 MB, free: 2.527 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.3596, allocations: 92.94 kB / 343.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3597, allocations: 8 kB / 343.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3599, allocations: 27.97 kB / 343.1 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.36, allocations: 23.97 kB / 343.1 MB, free: 2.359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.36, allocations: 12 kB / 343.2 MB, free: 2.348 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.3603, allocations: 172.5 kB / 343.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3603, allocations: 0 / 343.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006211/0.3609, allocations: 107.7 kB / 343.4 MB, free: 2.074 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.0001939/0.3611, allocations: 103.2 kB / 343.5 MB, free: 1.965 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3627, allocations: 0.6954 MB / 344.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3627, allocations: 0 / 344.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.3632, allocations: 230.9 kB / 344.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3636, allocations: 48.22 kB / 344.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.365, allocations: 0.622 MB / 345.1 MB, free: 300 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.3654, allocations: 0.744 MB / 345.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.3656, allocations: 25.94 kB / 345.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.3656, allocations: 15.44 kB / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3657, allocations: 0 / 345.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of Templates: time 0.007925/0.3736, allocations: 3.325 MB / 349.2 MB, free: 12.16 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)