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.009369/0.009369, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001898/0.001898, allocations: 196.5 kB / 16.68 MB, free: 5.523 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.896/1.896, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001471/0.001471, allocations: 51.94 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 46.61 MB / 373.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005193/0.1354, allocations: 2.714 MB / 375.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1371, allocations: 0.7212 MB / 376.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1374, allocations: 7.938 kB / 376.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.1376, allocations: 43.58 kB / 376.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.138, allocations: 87.27 kB / 376.8 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1383, allocations: 91.81 kB / 376.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.1388, allocations: 358.5 kB / 377.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.139, allocations: 84.7 kB / 377.3 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1393, allocations: 135.5 kB / 377.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1395, allocations: 155.3 kB / 377.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.1396, allocations: 28 kB / 377.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.089e-05/0.1397, allocations: 28 kB / 377.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.1398, allocations: 67.7 kB / 377.7 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.286/0.4258, allocations: 136.8 kB / 377.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.4265, allocations: 325.8 kB / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4265, allocations: 2.516 kB / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4265, allocations: 0 / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4265, allocations: 0 / 378.1 MB, free: 10.1 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.001285/0.4278, allocations: 0.6524 MB / 378.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4279, allocations: 9.25 kB / 378.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.428, allocations: 36.28 kB / 378.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.4284, allocations: 273.9 kB / 379.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4285, allocations: 15.77 kB / 379.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.4285, allocations: 20.55 kB / 379.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.4292, allocations: 247.5 kB / 379.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4292, allocations: 4.641 kB / 379.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.4292, allocations: 8.125 kB / 379.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4293, allocations: 5.5 kB / 379.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000801/0.4301, allocations: 255.9 kB / 379.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4318, allocations: 0.8585 MB / 380.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/0.4327, allocations: 225.5 kB / 380.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.4331, allocations: 99.77 kB / 380.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4331, allocations: 1.5 kB / 380.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.4336, allocations: 177.8 kB / 381 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.4336, allocations: 0.5 kB / 381 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002149/0.4358, allocations: 0.5896 MB / 381.6 MB, free: 8.656 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.4359, allocations: 111.3 kB / 381.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.4362, allocations: 262.7 kB / 382 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.4362, allocations: 27.55 kB / 382 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.4364, allocations: 181.9 kB / 382.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4364, allocations: 46.72 kB / 382.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4365, allocations: 46.7 kB / 382.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.4366, allocations: 336.2 kB / 382.6 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.437, allocations: 103.6 kB / 382.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.4373, allocations: 182.9 kB / 382.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.4379, allocations: 259.5 kB / 383.1 MB, free: 7.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.438, allocations: 0 / 383.1 MB, free: 7.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001079/0.439, allocations: 441.5 kB / 383.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4391, allocations: 34.09 kB / 383.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4391, allocations: 1.656 kB / 383.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.4396, allocations: 113.7 kB / 383.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.4399, allocations: 44.12 kB / 383.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.442, allocations: 1.935 MB / 385.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.4423, allocations: 47.69 kB / 385.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4424, allocations: 8.453 kB / 385.7 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000383/0.4428, allocations: 182.2 kB / 385.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000315/0.4431, allocations: 156.6 kB / 386 MB, free: 5.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005298/0.4436, allocations: 245.5 kB / 386.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.4436, allocations: 0 / 386.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008263/0.4445, allocations: 356.6 kB / 386.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.4445, allocations: 34.33 kB / 386.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4445, allocations: 2.656 kB / 386.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.4447, allocations: 47.44 kB / 386.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.4449, allocations: 37.88 kB / 386.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.4461, allocations: 1.727 MB / 388.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.4465, allocations: 44.38 kB / 388.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4465, allocations: 11.86 kB / 388.5 MB, free: 3.805 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.0001433/0.4467, allocations: 199.7 kB / 388.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4467, allocations: 21.92 kB / 388.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.4468, allocations: 26.69 kB / 388.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4468, allocations: 2.969 kB / 388.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4468, allocations: 0 / 388.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4468, allocations: 1.922 kB / 388.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4471, allocations: 301.1 kB / 389.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4471, allocations: 10.25 kB / 389.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.4473, allocations: 22.06 kB / 389.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002333/0.4475, allocations: 72.25 kB / 389.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4475, allocations: 1.719 kB / 389.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.4492, allocations: 1.875 MB / 391.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4493, allocations: 0 / 391.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.4502, allocations: 321.6 kB / 391.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.4503, allocations: 104.4 kB / 391.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.4503, allocations: 13.88 kB / 391.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4506, allocations: 25.59 kB / 391.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4507, allocations: 19.84 kB / 391.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4507, allocations: 7.625 kB / 391.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002445/0.451, allocations: 188.4 kB / 391.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.451, allocations: 4 kB / 391.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007234/0.4517, allocations: 122.1 kB / 391.8 MB, free: 1.25 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.0001778/0.4519, allocations: 108.4 kB / 392 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.4535, allocations: 0.7303 MB / 392.7 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4535, allocations: 5.656 kB / 392.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.454, allocations: 237.2 kB / 392.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.4543, allocations: 42.23 kB / 393 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4565, allocations: 0.7005 MB / 393.7 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4569, allocations: 0.7481 MB / 394.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.4571, allocations: 28.83 kB / 394.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.4572, allocations: 22.38 kB / 394.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4572, allocations: 0 / 394.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Templates: time 0.01166/0.4688, allocations: 4.278 MB / 398.7 MB, free: 14.8 MB / 334.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)