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.001013/0.001018, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001416/0.001416, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.808/1.808, allocations: 205.4 MB / 223.4 MB, free: 5.781 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.0005451/0.0005456, allocations: 12 kB / 280.2 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2633, allocations: 47.6 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.002286/0.2656, allocations: 2.295 MB / 330 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2667, allocations: 0.681 MB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2668, allocations: 4 kB / 330.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.267, allocations: 31.58 kB / 330.8 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.2672, allocations: 79.84 kB / 330.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2674, allocations: 71.06 kB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.2677, allocations: 313.6 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2679, allocations: 63.89 kB / 331.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2681, allocations: 111.8 kB / 331.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2683, allocations: 128.2 kB / 331.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.2683, allocations: 15.06 kB / 331.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.2684, allocations: 19.28 kB / 331.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2684, allocations: 58.31 kB / 331.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.2685, allocations: 68.67 kB / 331.7 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.2688, allocations: 241.7 kB / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2688, allocations: 4 kB / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2688, allocations: 0 / 331.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.2688, allocations: 0 / 331.9 MB, free: 14.22 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.001097/0.2699, allocations: 0.6058 MB / 332.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.27, allocations: 9.75 kB / 332.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.27, allocations: 29.91 kB / 332.5 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.2704, allocations: 274 kB / 332.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2704, allocations: 12.97 kB / 332.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2704, allocations: 22 kB / 332.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.271, allocations: 257.7 kB / 333.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2711, allocations: 0 / 333.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.2711, allocations: 10.34 kB / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2711, allocations: 5.219 kB / 333.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.2718, allocations: 287.7 kB / 333.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2733, allocations: 0.8916 MB / 334.3 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.2741, allocations: 256.9 kB / 334.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.2744, allocations: 123.9 kB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2744, allocations: 5.297 kB / 334.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004359/0.2749, allocations: 197.3 kB / 334.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.2749, allocations: 0 / 334.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001925/0.2768, allocations: 0.7083 MB / 335.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.2769, allocations: 114.8 kB / 335.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.2772, allocations: 262.5 kB / 335.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2772, allocations: 25.7 kB / 336 MB, free: 11.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2774, allocations: 179.8 kB / 336.1 MB, free: 10.85 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2774, allocations: 43.45 kB / 336.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.2774, allocations: 4 kB / 336.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2776, allocations: 334.8 kB / 336.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.2779, allocations: 107.9 kB / 336.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.2782, allocations: 185.3 kB / 336.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.2785, allocations: 141.7 kB / 336.9 MB, free: 10 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2785, allocations: 0 / 336.9 MB, free: 10 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001057/0.2796, allocations: 490.2 kB / 337.4 MB, free: 9.512 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.2798, allocations: 177.6 kB / 337.6 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2798, allocations: 0 / 337.6 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000311/0.2801, allocations: 76.8 kB / 337.7 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2803, allocations: 51.91 kB / 337.7 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.2823, allocations: 1.818 MB / 339.5 MB, free: 7.215 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2826, allocations: 55.81 kB / 339.6 MB, free: 7.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.2827, allocations: 8 kB / 339.6 MB, free: 7.152 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.2827, allocations: 4 kB / 339.6 MB, free: 7.148 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006954/0.2834, allocations: 338.3 kB / 339.9 MB, free: 6.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2834, allocations: 4.188 kB / 339.9 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.008e-05/0.2835, allocations: 36.84 kB / 340 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.2837, allocations: 55.84 kB / 340 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2849, allocations: 1.53 MB / 341.6 MB, free: 5.051 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2851, allocations: 51.91 kB / 341.6 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2852, allocations: 8 kB / 341.6 MB, free: 4.992 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.2854, allocations: 220.8 kB / 341.8 MB, free: 4.766 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.2854, allocations: 27.67 kB / 341.9 MB, free: 4.738 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.2855, allocations: 17.84 kB / 341.9 MB, free: 4.723 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2855, allocations: 15.92 kB / 341.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.2855, allocations: 0 / 341.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2855, allocations: 3.984 kB / 341.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2858, allocations: 293.4 kB / 342.2 MB, free: 4.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2858, allocations: 0 / 342.2 MB, free: 4.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2859, allocations: 32.11 kB / 342.2 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.2861, allocations: 80.81 kB / 342.3 MB, free: 4.254 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2861, allocations: 0 / 342.3 MB, free: 4.254 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.288, allocations: 1.736 MB / 344 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.288, allocations: 0 / 344 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.2888, allocations: 366 kB / 344.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.2889, allocations: 104.8 kB / 344.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.2889, allocations: 3.953 kB / 344.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2891, allocations: 47.95 kB / 344.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.2892, allocations: 19.97 kB / 344.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2893, allocations: 4.188 kB / 344.6 MB, free: 1.809 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.2894, allocations: 186 kB / 344.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2894, allocations: 0 / 344.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.29, allocations: 127.8 kB / 344.9 MB, free: 1.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000138/0.2902, allocations: 107.3 kB / 345 MB, free: 1.387 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.2916, allocations: 0.7952 MB / 345.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2917, allocations: 0 / 345.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.2921, allocations: 251 kB / 346 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2924, allocations: 48.47 kB / 346.1 MB, free: 244 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.2944, allocations: 0.8965 MB / 347 MB, free: 15.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.2949, allocations: 0.7483 MB / 347.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.295, allocations: 34.25 kB / 347.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2951, allocations: 19.44 kB / 347.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2951, allocations: 0 / 347.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of Templates: time 0.00834/0.3034, allocations: 3.725 MB / 351.5 MB, free: 10.77 MB / 286.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)