Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001658/0.001658, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002494/0.002494, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.84/1.84, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001552/0.001552, allocations: 56.39 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3119, allocations: 46.63 MB / 325.3 MB, free: 2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004264/0.3162, allocations: 2.703 MB / 328 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.318, allocations: 0.7212 MB / 328.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.3182, allocations: 12.09 kB / 328.8 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.3184, allocations: 43.64 kB / 328.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.3186, allocations: 87.97 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.319, allocations: 90 kB / 329 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3195, allocations: 345.5 kB / 329.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.3197, allocations: 89.73 kB / 329.4 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.32, allocations: 126 kB / 329.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3202, allocations: 155.6 kB / 329.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.3203, allocations: 29.38 kB / 329.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.3203, allocations: 30.28 kB / 329.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.701e-05/0.3204, allocations: 62.5 kB / 329.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.3206, allocations: 144.4 kB / 329.9 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.321, allocations: 321.4 kB / 330.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.321, allocations: 1.094 kB / 330.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.321, allocations: 4 kB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.321, allocations: 0 / 330.3 MB, free: 14.23 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.001519/0.3226, allocations: 0.6405 MB / 330.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3226, allocations: 13.72 kB / 330.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.3227, allocations: 28.16 kB / 330.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.3231, allocations: 278.9 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3231, allocations: 13.69 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3232, allocations: 22.38 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.3239, allocations: 250.3 kB / 331.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3239, allocations: 0 / 331.5 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.324, allocations: 10.41 kB / 331.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.324, allocations: 8.594 kB / 331.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.3248, allocations: 262 kB / 331.8 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3267, allocations: 0.8669 MB / 332.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.3276, allocations: 221.8 kB / 332.8 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.328, allocations: 93.83 kB / 332.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.328, allocations: 1.25 kB / 332.9 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.3286, allocations: 186.7 kB / 333.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.3286, allocations: 0 / 333.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002082/0.3307, allocations: 0.587 MB / 333.7 MB, free: 11.42 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3308, allocations: 110.8 kB / 333.8 MB, free: 11.29 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3311, allocations: 266.5 kB / 334.1 MB, free: 11.01 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3311, allocations: 33.7 kB / 334.1 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3313, allocations: 171.8 kB / 334.3 MB, free: 10.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.3313, allocations: 47.44 kB / 334.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.94e-05/0.3314, allocations: 49.61 kB / 334.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3316, allocations: 326.8 kB / 334.7 MB, free: 10.37 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.3319, allocations: 108.7 kB / 334.8 MB, free: 10.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.3323, allocations: 173.3 kB / 335 MB, free: 10.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.3329, allocations: 268.2 kB / 335.2 MB, free: 9.766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3329, allocations: 0 / 335.2 MB, free: 9.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001139/0.3341, allocations: 431.6 kB / 335.6 MB, free: 9.328 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.3341, allocations: 37.7 kB / 335.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3341, allocations: 0 / 335.7 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.3347, allocations: 112.8 kB / 335.8 MB, free: 9.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3349, allocations: 39.91 kB / 335.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.3374, allocations: 1.927 MB / 337.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.3378, allocations: 47.78 kB / 337.8 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3379, allocations: 12 kB / 337.8 MB, free: 7.004 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003723/0.3382, allocations: 176.1 kB / 338 MB, free: 6.828 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003263/0.3386, allocations: 165.7 kB / 338.2 MB, free: 6.633 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005499/0.3391, allocations: 251.8 kB / 338.4 MB, free: 6.355 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.3392, allocations: 8 kB / 338.4 MB, free: 6.348 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008671/0.34, allocations: 339.7 kB / 338.7 MB, free: 6 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.3401, allocations: 41.69 kB / 338.8 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3401, allocations: 0 / 338.8 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.3403, allocations: 52.77 kB / 338.8 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3405, allocations: 35.97 kB / 338.9 MB, free: 5.863 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.3421, allocations: 1.728 MB / 340.6 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3424, allocations: 47.91 kB / 340.6 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3425, allocations: 8 kB / 340.6 MB, free: 3.941 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.0002306/0.3427, allocations: 196.2 kB / 340.8 MB, free: 3.742 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3428, allocations: 19.72 kB / 340.9 MB, free: 3.723 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.3428, allocations: 33.77 kB / 340.9 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3428, allocations: 4 kB / 340.9 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3429, allocations: 0 / 340.9 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3429, allocations: 4 kB / 340.9 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.3432, allocations: 297.4 kB / 341.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3432, allocations: 4 kB / 341.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3434, allocations: 27.91 kB / 341.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.3437, allocations: 68.8 kB / 341.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3437, allocations: 8 kB / 341.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.3458, allocations: 1.861 MB / 343.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3458, allocations: 0 / 343.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.3467, allocations: 322.1 kB / 343.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.362e-05/0.3468, allocations: 104.8 kB / 343.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3469, allocations: 11.94 kB / 343.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3471, allocations: 31.95 kB / 343.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.3472, allocations: 23.97 kB / 343.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3472, allocations: 4 kB / 343.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.3475, allocations: 190 kB / 343.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3475, allocations: 0 / 343.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006988/0.3482, allocations: 127.8 kB / 344 MB, free: 408 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.0001769/0.3484, allocations: 107.3 kB / 344.1 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3502, allocations: 0.738 MB / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3502, allocations: 0 / 344.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.3506, allocations: 235.5 kB / 345 MB, free: 15.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.351, allocations: 45.56 kB / 345.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3533, allocations: 0.7 MB / 345.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3538, allocations: 0.7483 MB / 346.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.3539, allocations: 26.28 kB / 346.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.354, allocations: 19.44 kB / 346.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of SimCode: time 2.995e-06/0.354, allocations: 0 / 346.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Templates: time 0.01043/0.3644, allocations: 4.227 MB / 350.8 MB, free: 9.434 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)