Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001647/0.001648, allocations: 188 kB / 16.25 MB, free: 6.629 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.193/2.193, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.00167/0.00167, allocations: 47.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3944, allocations: 46.64 MB / 324.9 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005111/0.3995, allocations: 2.749 MB / 327.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4014, allocations: 0.717 MB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.4017, allocations: 4.344 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.402, allocations: 30.86 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.4023, allocations: 72.14 kB / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.4027, allocations: 86.77 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.4033, allocations: 354.5 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.4036, allocations: 77.06 kB / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.4039, allocations: 136.8 kB / 329.1 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.4042, allocations: 152 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.4043, allocations: 29.59 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.4043, allocations: 30.16 kB / 329.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.4044, allocations: 58.39 kB / 329.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.4047, allocations: 152.4 kB / 329.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.4052, allocations: 321.6 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.4052, allocations: 5.156 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4052, allocations: 0 / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4052, allocations: 0 / 329.8 MB, free: 14.19 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.001473/0.4067, allocations: 0.6377 MB / 330.4 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4068, allocations: 9.375 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4069, allocations: 27.31 kB / 330.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.4073, allocations: 279.5 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4073, allocations: 14.22 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.4074, allocations: 24.75 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.4081, allocations: 250.8 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4081, allocations: 3.984 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.4081, allocations: 10.16 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4082, allocations: 4.906 kB / 331.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.409, allocations: 253.6 kB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.4108, allocations: 0.8716 MB / 332.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.4117, allocations: 226.4 kB / 332.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.412, allocations: 92.98 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.412, allocations: 2.188 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007025/0.4128, allocations: 178 kB / 332.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.395e-06/0.4128, allocations: 0 / 332.7 MB, free: 11.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002228/0.415, allocations: 0.594 MB / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.4151, allocations: 110.8 kB / 333.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.4155, allocations: 266.5 kB / 333.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.4156, allocations: 29.7 kB / 333.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4158, allocations: 175.8 kB / 333.8 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.4158, allocations: 43.44 kB / 333.9 MB, free: 10.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4159, allocations: 49.61 kB / 333.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.4162, allocations: 338.8 kB / 334.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.4165, allocations: 96.78 kB / 334.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.4169, allocations: 173.3 kB / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.4175, allocations: 268.2 kB / 334.8 MB, free: 9.824 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4176, allocations: 0 / 334.8 MB, free: 9.824 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001084/0.4187, allocations: 431.5 kB / 335.2 MB, free: 9.387 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.4187, allocations: 37.7 kB / 335.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.4187, allocations: 0 / 335.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.4192, allocations: 116.7 kB / 335.3 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.4194, allocations: 39.91 kB / 335.4 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.4219, allocations: 1.927 MB / 337.3 MB, free: 7.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.4224, allocations: 47.75 kB / 337.4 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.4224, allocations: 12 kB / 337.4 MB, free: 7.059 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003889/0.4228, allocations: 184.1 kB / 337.5 MB, free: 6.875 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003214/0.4231, allocations: 157.8 kB / 337.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000543/0.4237, allocations: 251.6 kB / 337.9 MB, free: 6.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.4237, allocations: 0 / 337.9 MB, free: 6.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008714/0.4246, allocations: 351.6 kB / 338.3 MB, free: 6.051 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.4246, allocations: 33.69 kB / 338.3 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4247, allocations: 4 kB / 338.3 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.4248, allocations: 40.84 kB / 338.4 MB, free: 5.965 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.425, allocations: 47.92 kB / 338.4 MB, free: 5.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.4266, allocations: 1.721 MB / 340.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.427, allocations: 43.8 kB / 340.2 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.427, allocations: 8 kB / 340.2 MB, free: 4.008 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.4273, allocations: 204.2 kB / 340.4 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.4273, allocations: 23.72 kB / 340.4 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.4274, allocations: 21.83 kB / 340.4 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4274, allocations: 4 kB / 340.4 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4274, allocations: 0 / 340.4 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4274, allocations: 0 / 340.4 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.4278, allocations: 301.3 kB / 340.7 MB, free: 3.41 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4279, allocations: 3.938 kB / 340.7 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.428, allocations: 23.97 kB / 340.8 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.4283, allocations: 68.8 kB / 340.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.4283, allocations: 4 kB / 340.8 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.4306, allocations: 1.869 MB / 342.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4307, allocations: 0 / 342.7 MB, free: 1.301 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.4315, allocations: 326 kB / 343 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4317, allocations: 108.8 kB / 343.1 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.4317, allocations: 7.938 kB / 343.1 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.432, allocations: 27.97 kB / 343.2 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.4321, allocations: 19.97 kB / 343.2 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4321, allocations: 8 kB / 343.2 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.4323, allocations: 194 kB / 343.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4323, allocations: 0 / 343.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0007771/0.4331, allocations: 119.8 kB / 343.5 MB, free: 476 kB / 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.000197/0.4333, allocations: 107.2 kB / 343.6 MB, free: 360 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.4351, allocations: 0.7359 MB / 344.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4351, allocations: 0 / 344.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.4356, allocations: 234.6 kB / 344.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.436, allocations: 52.52 kB / 344.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.438, allocations: 0.786 MB / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4384, allocations: 0.7483 MB / 346.1 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.4385, allocations: 26.28 kB / 346.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.4386, allocations: 23.44 kB / 346.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4386, allocations: 0 / 346.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of Templates: time 0.009625/0.4483, allocations: 4.122 MB / 350.3 MB, free: 9.512 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)