Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001362/0.001368, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.001178/0.001178, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.585/1.585, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001155/0.001155, allocations: 47.94 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 46.61 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004166/0.117, allocations: 2.706 MB / 377.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1183, allocations: 0.7251 MB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.1185, allocations: 4 kB / 377.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.1187, allocations: 43.58 kB / 378 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1189, allocations: 91.25 kB / 378.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1192, allocations: 99.8 kB / 378.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.1196, allocations: 350.5 kB / 378.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.1199, allocations: 88.69 kB / 378.6 MB, free: 432 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.12, allocations: 131.4 kB / 378.7 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1202, allocations: 147.4 kB / 378.9 MB, free: 152 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.1203, allocations: 32 kB / 378.9 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.1204, allocations: 28 kB / 378.9 MB, free: 92 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.1204, allocations: 71.73 kB / 379 MB, free: 20 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2778/0.3983, allocations: 139 kB / 379.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.399, allocations: 321.9 kB / 379.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.399, allocations: 7.125 kB / 379.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.399, allocations: 1.375 kB / 379.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.399, allocations: 0 / 379.5 MB, free: 10.07 MB / 318.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.001404/0.4004, allocations: 0.6339 MB / 380.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4005, allocations: 9.031 kB / 380.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.4006, allocations: 32.91 kB / 380.1 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.4011, allocations: 274.1 kB / 380.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4011, allocations: 13.22 kB / 380.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.4012, allocations: 21.25 kB / 380.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.4019, allocations: 250.2 kB / 380.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4019, allocations: 3.938 kB / 380.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.4019, allocations: 10.22 kB / 380.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4019, allocations: 5.5 kB / 380.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008503/0.4028, allocations: 254.2 kB / 380.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.4046, allocations: 0.8559 MB / 381.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/0.4055, allocations: 231.9 kB / 382 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.4059, allocations: 91.97 kB / 382.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.4059, allocations: 6.625 kB / 382.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/0.4065, allocations: 179.1 kB / 382.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.4065, allocations: 1.078 kB / 382.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002207/0.4087, allocations: 0.5961 MB / 382.9 MB, free: 8.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.4088, allocations: 107.2 kB / 383 MB, free: 8.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.4091, allocations: 264.5 kB / 383.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4092, allocations: 32.11 kB / 383.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4093, allocations: 181.7 kB / 383.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.4093, allocations: 41.31 kB / 383.5 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4095, allocations: 49.58 kB / 383.6 MB, free: 8.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.4096, allocations: 334.2 kB / 383.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4099, allocations: 102.8 kB / 384 MB, free: 7.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.4103, allocations: 174.7 kB / 384.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.411, allocations: 266.7 kB / 384.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.411, allocations: 0.6094 kB / 384.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001236/0.4123, allocations: 428.3 kB / 384.8 MB, free: 7.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.4123, allocations: 32.66 kB / 384.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.4123, allocations: 3.656 kB / 384.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005233/0.4129, allocations: 111.3 kB / 385 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.4131, allocations: 46.83 kB / 385 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.4152, allocations: 1.933 MB / 387 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.4155, allocations: 50.44 kB / 387 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.4156, allocations: 8.484 kB / 387 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003567/0.4159, allocations: 181.3 kB / 387.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003009/0.4162, allocations: 162 kB / 387.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005058/0.4168, allocations: 246.8 kB / 387.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.4168, allocations: 0 / 387.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008125/0.4176, allocations: 355 kB / 387.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.4176, allocations: 33.59 kB / 388 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4176, allocations: 2.203 kB / 388 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.4178, allocations: 48.28 kB / 388 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.418, allocations: 40.92 kB / 388.1 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.4191, allocations: 1.72 MB / 389.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.4194, allocations: 48.5 kB / 389.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4195, allocations: 7.469 kB / 389.8 MB, free: 3.801 MB / 318.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.0001347/0.4196, allocations: 198.8 kB / 390 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.4197, allocations: 27.38 kB / 390.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.4197, allocations: 27.97 kB / 390.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.4197, allocations: 2.031 kB / 390.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4197, allocations: 0 / 390.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4197, allocations: 1.266 kB / 390.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.42, allocations: 294.8 kB / 390.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4201, allocations: 7.938 kB / 390.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.4202, allocations: 21.89 kB / 390.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.4205, allocations: 71.98 kB / 390.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4205, allocations: 1.734 kB / 390.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.4222, allocations: 1.873 MB / 392.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4222, allocations: 0.7031 kB / 392.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.4231, allocations: 323.3 kB / 392.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.4232, allocations: 101.2 kB / 392.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.4232, allocations: 11.55 kB / 392.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.4235, allocations: 25.8 kB / 392.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.4236, allocations: 24.58 kB / 392.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4236, allocations: 3.938 kB / 392.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.4238, allocations: 192.4 kB / 393 MB, free: 1.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4238, allocations: 0 / 393 MB, free: 1.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006467/0.4244, allocations: 117.4 kB / 393.1 MB, free: 1.258 MB / 318.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.000148/0.4246, allocations: 108.9 kB / 393.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.4262, allocations: 0.7387 MB / 394 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4262, allocations: 0 / 394 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.4267, allocations: 235.4 kB / 394.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4271, allocations: 48.12 kB / 394.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.4293, allocations: 0.694 MB / 394.9 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4297, allocations: 0.7529 MB / 395.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4298, allocations: 28.45 kB / 395.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.4299, allocations: 19.19 kB / 395.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4299, allocations: 1.062 kB / 395.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Templates: time 0.01151/0.4414, allocations: 4.43 MB / 400.2 MB, free: 14.69 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)