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.002315/0.002315, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002096/0.002096, allocations: 197.9 kB / 16.14 MB, free: 6.66 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.733/1.733, allocations: 205.1 MB / 222 MB, free: 4.738 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.001164/0.001164, allocations: 55.92 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3609, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004885/0.3658, allocations: 2.752 MB / 327.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3677, allocations: 0.7198 MB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.368, allocations: 4.219 kB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.3682, allocations: 39.19 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.3685, allocations: 71.98 kB / 328.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.3688, allocations: 78.28 kB / 328.3 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.3692, allocations: 332.9 kB / 328.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.3695, allocations: 81.58 kB / 328.8 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3697, allocations: 117.2 kB / 328.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3699, allocations: 139.9 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.37, allocations: 19.19 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.37, allocations: 17.34 kB / 329 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.3701, allocations: 46.77 kB / 329.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3703, allocations: 144.3 kB / 329.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3707, allocations: 306.4 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3707, allocations: 1.25 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3707, allocations: 0 / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.3707, allocations: 4 kB / 329.5 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.001497/0.3723, allocations: 0.6411 MB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/0.3723, allocations: 13.84 kB / 330.2 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.3725, allocations: 27.62 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.3729, allocations: 275.3 kB / 330.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.373, allocations: 16.72 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.373, allocations: 18.31 kB / 330.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.3738, allocations: 254.4 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3738, allocations: 0 / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3738, allocations: 6.406 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3738, allocations: 4.344 kB / 330.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.3747, allocations: 254.4 kB / 331 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3765, allocations: 0.8669 MB / 331.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.3772, allocations: 226.4 kB / 332.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.3775, allocations: 101.8 kB / 332.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3776, allocations: 1.469 kB / 332.2 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.3781, allocations: 182.8 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.3781, allocations: 0 / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002122/0.3802, allocations: 0.586 MB / 333 MB, free: 11.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.3803, allocations: 114.8 kB / 333.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3807, allocations: 266.5 kB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.3808, allocations: 29.7 kB / 333.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3809, allocations: 175.8 kB / 333.5 MB, free: 11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.381, allocations: 43.44 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3811, allocations: 49.61 kB / 333.6 MB, free: 10.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3813, allocations: 334.8 kB / 334 MB, free: 10.56 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3816, allocations: 100.8 kB / 334.1 MB, free: 10.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.382, allocations: 181.2 kB / 334.2 MB, free: 10.25 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.3826, allocations: 264.8 kB / 334.5 MB, free: 9.961 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3826, allocations: 0 / 334.5 MB, free: 9.961 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001101/0.3837, allocations: 427.6 kB / 334.9 MB, free: 9.527 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.3838, allocations: 33.7 kB / 335 MB, free: 9.488 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3838, allocations: 3.984 kB / 335 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.3844, allocations: 112.8 kB / 335.1 MB, free: 9.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3846, allocations: 47.89 kB / 335.1 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.3869, allocations: 1.729 MB / 336.8 MB, free: 7.457 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.3872, allocations: 47.72 kB / 336.9 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.3873, allocations: 12.06 kB / 336.9 MB, free: 7.398 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003338/0.3876, allocations: 180.1 kB / 337.1 MB, free: 7.219 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.3879, allocations: 165.7 kB / 337.2 MB, free: 7.023 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005293/0.3885, allocations: 243.6 kB / 337.5 MB, free: 6.754 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.3885, allocations: 4 kB / 337.5 MB, free: 6.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007503/0.3892, allocations: 347.5 kB / 337.8 MB, free: 6.395 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.3893, allocations: 33.7 kB / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.3893, allocations: 0 / 337.9 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.3894, allocations: 49.02 kB / 337.9 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.3896, allocations: 43.97 kB / 337.9 MB, free: 6.262 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.3911, allocations: 1.545 MB / 339.5 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.3914, allocations: 43.81 kB / 339.5 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3915, allocations: 11.94 kB / 339.5 MB, free: 4.531 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.0001861/0.3916, allocations: 192.9 kB / 339.7 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.3917, allocations: 31.66 kB / 339.8 MB, free: 4.305 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.3917, allocations: 25.83 kB / 339.8 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3918, allocations: 4 kB / 339.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3918, allocations: 0 / 339.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3918, allocations: 0 / 339.8 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3921, allocations: 289.4 kB / 340.1 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3921, allocations: 4 kB / 340.1 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3922, allocations: 31.84 kB / 340.1 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.3925, allocations: 72.73 kB / 340.2 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3925, allocations: 8.125 kB / 340.2 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.3944, allocations: 1.678 MB / 341.9 MB, free: 2.016 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3944, allocations: 0 / 341.9 MB, free: 2.016 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.3953, allocations: 329.9 kB / 342.2 MB, free: 1.672 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3955, allocations: 100.8 kB / 342.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3955, allocations: 8 kB / 342.3 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3957, allocations: 23.97 kB / 342.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.3958, allocations: 23.97 kB / 342.3 MB, free: 1.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3959, allocations: 8 kB / 342.3 MB, free: 1.492 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3961, allocations: 190 kB / 342.5 MB, free: 1.305 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3961, allocations: 0 / 342.5 MB, free: 1.305 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.3968, allocations: 115.8 kB / 342.6 MB, free: 1.191 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 (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.00019/0.397, allocations: 103.2 kB / 342.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3986, allocations: 0.7462 MB / 343.5 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3987, allocations: 0 / 343.5 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.3991, allocations: 227 kB / 343.7 MB, free: 52 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3996, allocations: 57.58 kB / 343.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4016, allocations: 0.7801 MB / 344.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.402, allocations: 0.7483 MB / 345.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.4022, allocations: 26.28 kB / 345.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.4023, allocations: 19.44 kB / 345.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4023, allocations: 0 / 345.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of Templates: time 0.008517/0.4108, allocations: 3.888 MB / 349.2 MB, free: 10.48 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)