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.001134/0.001134, allocations: 113.5 kB / 17.07 MB, free: 5.969 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.001023/0.001023, allocations: 194.8 kB / 18 MB, free: 5.055 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.557/1.557, 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.001588/0.001588, allocations: 55.92 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004871/0.1341, allocations: 2.71 MB / 377.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1359, allocations: 0.7173 MB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.1363, allocations: 8 kB / 377.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1366, allocations: 39.58 kB / 378 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.137, allocations: 87.25 kB / 378.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1374, allocations: 95.8 kB / 378.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.138, allocations: 358.5 kB / 378.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1383, allocations: 92.69 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.1386, allocations: 131.4 kB / 378.7 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1389, allocations: 151.3 kB / 378.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.139, allocations: 32 kB / 378.9 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1391, allocations: 28 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.1392, allocations: 67.7 kB / 379 MB, free: 16 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3283/0.4676, allocations: 138.9 kB / 379.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.4684, allocations: 326.2 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.4684, allocations: 5.312 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4684, allocations: 2.094 kB / 379.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.4684, allocations: 0 / 379.5 MB, free: 10.66 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.001376/0.4698, allocations: 0.6426 MB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.4699, allocations: 9.047 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.47, allocations: 31.94 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.4704, allocations: 275.7 kB / 380.4 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.4705, allocations: 16.16 kB / 380.4 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.4705, allocations: 23.88 kB / 380.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.4713, allocations: 244.8 kB / 380.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4713, allocations: 7.875 kB / 380.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.4713, allocations: 10.59 kB / 380.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4713, allocations: 7.594 kB / 380.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.4722, allocations: 252 kB / 381 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4744, allocations: 0.8594 MB / 381.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.4753, allocations: 232.6 kB / 382.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.4757, allocations: 92.91 kB / 382.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.4758, allocations: 2.641 kB / 382.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.4764, allocations: 177.5 kB / 382.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.746e-06/0.4764, allocations: 0 / 382.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002294/0.4787, allocations: 0.5979 MB / 382.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.4788, allocations: 106.9 kB / 383 MB, free: 9.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.4791, allocations: 260.7 kB / 383.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.4791, allocations: 32.09 kB / 383.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.4793, allocations: 176.6 kB / 383.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4793, allocations: 48 kB / 383.5 MB, free: 8.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4794, allocations: 52.16 kB / 383.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.4795, allocations: 336.6 kB / 383.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.4799, allocations: 96.98 kB / 384 MB, free: 8.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.4803, allocations: 174.1 kB / 384.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.4809, allocations: 272.3 kB / 384.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.481, allocations: 1.562 kB / 384.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001246/0.4822, allocations: 434.1 kB / 384.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.4823, allocations: 33.34 kB / 384.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4823, allocations: 3.453 kB / 384.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.4829, allocations: 118.8 kB / 385 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4831, allocations: 40.7 kB / 385.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.4856, allocations: 1.933 MB / 387 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.486, allocations: 47.91 kB / 387 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.4861, allocations: 11.91 kB / 387 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003806/0.4865, allocations: 180.2 kB / 387.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003654/0.4869, allocations: 158.4 kB / 387.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000557/0.4874, allocations: 251.2 kB / 387.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4874, allocations: 1.031 kB / 387.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009071/0.4883, allocations: 354.7 kB / 388 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.4884, allocations: 33.14 kB / 388 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4884, allocations: 2.062 kB / 388 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.4886, allocations: 43.86 kB / 388 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.4888, allocations: 41.2 kB / 388.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.4901, allocations: 1.729 MB / 389.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.4905, allocations: 44.41 kB / 389.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.4905, allocations: 8.016 kB / 389.9 MB, free: 4.055 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.0001556/0.4907, allocations: 198.9 kB / 390.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.4907, allocations: 22.83 kB / 390.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.4908, allocations: 27.03 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4908, allocations: 2.312 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4908, allocations: 0.875 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4908, allocations: 0.75 kB / 390.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.4912, allocations: 299.6 kB / 390.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4912, allocations: 0.5156 kB / 390.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4914, allocations: 22.25 kB / 390.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.4916, allocations: 73.89 kB / 390.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.4916, allocations: 2.125 kB / 390.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.4935, allocations: 1.88 MB / 392.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4935, allocations: 1.125 kB / 392.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.4944, allocations: 322.7 kB / 392.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.4945, allocations: 105 kB / 392.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.4946, allocations: 6.938 kB / 392.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.4948, allocations: 34.17 kB / 392.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4949, allocations: 19.8 kB / 392.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.495, allocations: 3.25 kB / 392.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.4952, allocations: 196.9 kB / 393.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4952, allocations: 0 / 393.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000672/0.4959, allocations: 121.4 kB / 393.2 MB, free: 1.5 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.0001681/0.4961, allocations: 109 kB / 393.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.4977, allocations: 0.7322 MB / 394 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4978, allocations: 1.219 kB / 394 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.4983, allocations: 234.3 kB / 394.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4986, allocations: 45.25 kB / 394.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.5008, allocations: 0.6983 MB / 395 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5011, allocations: 0.7508 MB / 395.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.5013, allocations: 28.17 kB / 395.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.5014, allocations: 22.75 kB / 395.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5014, allocations: 0 / 395.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Templates: time 0.01204/0.5134, allocations: 4.284 MB / 400.1 MB, free: 15.01 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)