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.0009704/0.0009704, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0008774/0.0008777, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3546, allocations: 47.58 MB / 326.5 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003044/0.3577, allocations: 2.303 MB / 328.8 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3592, allocations: 0.6801 MB / 329.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.3594, allocations: 8.031 kB / 329.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.3595, allocations: 31.39 kB / 329.5 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3597, allocations: 73.19 kB / 329.6 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.36, allocations: 73.53 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.3604, allocations: 317.6 kB / 330 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3607, allocations: 68.36 kB / 330 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3608, allocations: 107.6 kB / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3611, allocations: 128.1 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.3612, allocations: 15.5 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.3612, allocations: 14.53 kB / 330.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3613, allocations: 50.66 kB / 330.3 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3614, allocations: 72.98 kB / 330.4 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.3618, allocations: 241.2 kB / 330.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.3618, allocations: 0 / 330.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3618, allocations: 1.469 kB / 330.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3618, allocations: 4 kB / 330.6 MB, free: 14.35 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.001369/0.3632, allocations: 0.6079 MB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3633, allocations: 9.688 kB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.3634, allocations: 30.59 kB / 331.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3637, allocations: 267.2 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3638, allocations: 15.88 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3638, allocations: 25.72 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.3645, allocations: 254 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3646, allocations: 7.938 kB / 331.9 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3646, allocations: 10.19 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3646, allocations: 5 kB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.3654, allocations: 288.4 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.3671, allocations: 0.8871 MB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.3678, allocations: 269.4 kB / 333.3 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.3681, allocations: 120 kB / 333.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3682, allocations: 5.078 kB / 333.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.3687, allocations: 189.7 kB / 333.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.3687, allocations: 0 / 333.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.001993/0.3707, allocations: 0.7174 MB / 334.3 MB, free: 11.53 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3708, allocations: 102.8 kB / 334.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3711, allocations: 270.5 kB / 334.7 MB, free: 11.13 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3711, allocations: 29.7 kB / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3712, allocations: 171.8 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.3713, allocations: 43.44 kB / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.3713, allocations: 8 kB / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3715, allocations: 330.8 kB / 335.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.3718, allocations: 115.8 kB / 335.4 MB, free: 10.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.3721, allocations: 189.3 kB / 335.6 MB, free: 10.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.3724, allocations: 141.7 kB / 335.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3724, allocations: 0 / 335.7 MB, free: 10.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001025/0.3735, allocations: 482.5 kB / 336.2 MB, free: 9.582 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.3736, allocations: 173.6 kB / 336.3 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3736, allocations: 4 kB / 336.3 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.374, allocations: 80.75 kB / 336.4 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3742, allocations: 51.95 kB / 336.5 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.3763, allocations: 1.815 MB / 338.3 MB, free: 7.285 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.3767, allocations: 55.91 kB / 338.3 MB, free: 7.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.3767, allocations: 11.98 kB / 338.3 MB, free: 7.219 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.3767, allocations: 4 kB / 338.4 MB, free: 7.215 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006841/0.3774, allocations: 330.1 kB / 338.7 MB, free: 6.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-06/0.3774, allocations: 256 / 338.7 MB, free: 6.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.3775, allocations: 48.77 kB / 338.7 MB, free: 6.832 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3777, allocations: 47.92 kB / 338.8 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3789, allocations: 1.534 MB / 340.3 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3792, allocations: 51.88 kB / 340.4 MB, free: 5.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3792, allocations: 8 kB / 340.4 MB, free: 5.062 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.0002376/0.3795, allocations: 220.8 kB / 340.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3795, allocations: 27.67 kB / 340.6 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.3796, allocations: 29.83 kB / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3796, allocations: 0 / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3796, allocations: 0 / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3796, allocations: 0 / 340.6 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3799, allocations: 297.4 kB / 340.9 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.38, allocations: 0 / 340.9 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3801, allocations: 35.86 kB / 341 MB, free: 4.406 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.3803, allocations: 72.81 kB / 341 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3803, allocations: 3.984 kB / 341 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.3821, allocations: 1.737 MB / 342.8 MB, free: 2.457 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3821, allocations: 0 / 342.8 MB, free: 2.457 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.3829, allocations: 366 kB / 343.1 MB, free: 2.078 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.383, allocations: 100.8 kB / 343.2 MB, free: 1.961 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.383, allocations: 11.94 kB / 343.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.3832, allocations: 39.97 kB / 343.3 MB, free: 1.91 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.3833, allocations: 23.91 kB / 343.3 MB, free: 1.887 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3834, allocations: 4 kB / 343.3 MB, free: 1.883 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.3836, allocations: 194 kB / 343.5 MB, free: 1.691 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3836, allocations: 0 / 343.5 MB, free: 1.691 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006329/0.3842, allocations: 115.8 kB / 343.6 MB, free: 1.578 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.0001841/0.3844, allocations: 119.1 kB / 343.7 MB, free: 1.453 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.386, allocations: 0.807 MB / 344.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.386, allocations: 0 / 344.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.3864, allocations: 239.1 kB / 344.8 MB, free: 360 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3868, allocations: 40.53 kB / 344.8 MB, free: 320 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.3891, allocations: 0.9005 MB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3895, allocations: 0.7444 MB / 346.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.3897, allocations: 30.28 kB / 346.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.3898, allocations: 15.44 kB / 346.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3898, allocations: 0 / 346.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of Templates: time 0.01008/0.3999, allocations: 3.732 MB / 350.2 MB, free: 10.84 MB / 286.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)