Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001418/0.001419, allocations: 193 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001444/0.001444, allocations: 47.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4449, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.005194/0.4501, allocations: 2.757 MB / 327.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4519, allocations: 0.7096 MB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.4521, allocations: 4 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.4524, allocations: 31.77 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.4527, allocations: 84.12 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.4531, allocations: 82.52 kB / 328.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.4536, allocations: 346.1 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.4539, allocations: 85.12 kB / 328.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.4541, allocations: 132.9 kB / 329.1 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.4543, allocations: 152.2 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.4544, allocations: 30.03 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.4545, allocations: 33.12 kB / 329.3 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4546, allocations: 66.31 kB / 329.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.4548, allocations: 145.5 kB / 329.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.4553, allocations: 317.8 kB / 329.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4553, allocations: 0 / 329.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4553, allocations: 0 / 329.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.4553, allocations: 0 / 329.8 MB, free: 14.18 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001684/0.457, allocations: 0.6412 MB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/0.4571, allocations: 9.438 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.4572, allocations: 28.5 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.4577, allocations: 282.7 kB / 330.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.4577, allocations: 17.22 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.4578, allocations: 17.88 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.4585, allocations: 250.5 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4586, allocations: 0 / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4586, allocations: 6.25 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4586, allocations: 5.375 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.4595, allocations: 258.1 kB / 331.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.4614, allocations: 0.8616 MB / 332.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.4623, allocations: 230.2 kB / 332.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.4627, allocations: 106.3 kB / 332.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.4628, allocations: 1.156 kB / 332.5 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007052/0.4635, allocations: 170.8 kB / 332.7 MB, free: 11.97 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.4635, allocations: 0 / 332.7 MB, free: 11.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002296/0.4658, allocations: 0.5928 MB / 333.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.4659, allocations: 110.8 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.4663, allocations: 256.9 kB / 333.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.4664, allocations: 29.7 kB / 333.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.4666, allocations: 175.9 kB / 333.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.4667, allocations: 47.36 kB / 333.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4668, allocations: 41.7 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.4671, allocations: 338.8 kB / 334.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.4674, allocations: 96.78 kB / 334.3 MB, free: 10.33 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.4678, allocations: 163.4 kB / 334.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.4685, allocations: 250.5 kB / 334.7 MB, free: 9.871 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4685, allocations: 4 kB / 334.7 MB, free: 9.867 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001033/0.4695, allocations: 415.5 kB / 335.1 MB, free: 9.445 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.4696, allocations: 33.7 kB / 335.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4696, allocations: 4 kB / 335.2 MB, free: 9.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.4701, allocations: 108.8 kB / 335.3 MB, free: 9.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.4703, allocations: 39.91 kB / 335.3 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.4727, allocations: 1.888 MB / 337.2 MB, free: 7.223 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.4731, allocations: 43.81 kB / 337.2 MB, free: 7.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4732, allocations: 12 kB / 337.3 MB, free: 7.168 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003975/0.4736, allocations: 180.1 kB / 337.4 MB, free: 6.988 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003235/0.4739, allocations: 139.7 kB / 337.6 MB, free: 6.824 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005254/0.4744, allocations: 233.9 kB / 337.8 MB, free: 6.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4745, allocations: 4 kB / 337.8 MB, free: 6.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008188/0.4753, allocations: 331.6 kB / 338.1 MB, free: 6.227 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.4753, allocations: 33.7 kB / 338.2 MB, free: 6.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.4753, allocations: 0 / 338.2 MB, free: 6.188 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.4755, allocations: 44.83 kB / 338.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4756, allocations: 43.91 kB / 338.2 MB, free: 6.098 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.4772, allocations: 1.721 MB / 340 MB, free: 4.238 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.4776, allocations: 43.84 kB / 340 MB, free: 4.195 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4776, allocations: 8 kB / 340 MB, free: 4.188 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 (18): * Single equations (assignments): 16 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002634/0.4779, allocations: 196.1 kB / 340.2 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.4779, allocations: 23.78 kB / 340.2 MB, free: 3.965 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.478, allocations: 29.83 kB / 340.3 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.478, allocations: 4 kB / 340.3 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.478, allocations: 0 / 340.3 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.478, allocations: 0 / 340.3 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.4783, allocations: 289.4 kB / 340.5 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4784, allocations: 0 / 340.5 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4785, allocations: 23.98 kB / 340.6 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.4788, allocations: 68.8 kB / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4788, allocations: 4 kB / 340.6 MB, free: 3.504 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.481, allocations: 1.727 MB / 342.4 MB, free: 1.641 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.481, allocations: 0 / 342.4 MB, free: 1.641 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.4818, allocations: 321.4 kB / 342.7 MB, free: 1.305 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.482, allocations: 96.92 kB / 342.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.482, allocations: 3.984 kB / 342.8 MB, free: 1.188 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4822, allocations: 31.97 kB / 342.8 MB, free: 1.156 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4823, allocations: 23.91 kB / 342.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4824, allocations: 7.938 kB / 342.8 MB, free: 1.125 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.4826, allocations: 184.5 kB / 343 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of sort global known variables: time 5e-07/0.4826, allocations: 0 / 343 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.4833, allocations: 127.7 kB / 343.2 MB, free: 0.8242 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.4835, allocations: 111.2 kB / 343.3 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.4852, allocations: 0.6876 MB / 343.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4852, allocations: 4 kB / 344 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.4856, allocations: 230.5 kB / 344.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.4861, allocations: 45.09 kB / 344.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4872, allocations: 0.5279 MB / 344.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.4877, allocations: 0.7483 MB / 345.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4878, allocations: 26.28 kB / 345.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.4879, allocations: 19.44 kB / 345.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4879, allocations: 0 / 345.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Templates: time 0.009479/0.4974, allocations: 4.156 MB / 349.7 MB, free: 10.15 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)