Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001254/0.001255, allocations: 177.3 kB / 15.95 MB, free: 216 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.874/1.874, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005048/0.0005052, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003114/0.343, allocations: 2.197 MB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3447, allocations: 0.6941 MB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.345, allocations: 7.688 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.487e-05/0.345, allocations: 30.91 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.3454, allocations: 99.23 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3457, allocations: 67.47 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.3461, allocations: 230.3 kB / 329.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3463, allocations: 76.81 kB / 329.9 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3465, allocations: 107.4 kB / 330 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3467, allocations: 127.6 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.3467, allocations: 15.53 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.3468, allocations: 14.44 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.3469, allocations: 46.22 kB / 330.2 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.347, allocations: 74.27 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3472, allocations: 231.3 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3472, allocations: 0.7188 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3473, allocations: 4 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3473, allocations: 0 / 330.5 MB, free: 14.37 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.00128/0.3486, allocations: 0.6121 MB / 331.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3486, allocations: 9.531 kB / 331.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.3487, allocations: 35.3 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3491, allocations: 266.4 kB / 331.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3492, allocations: 20.31 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.3492, allocations: 17.97 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/0.3499, allocations: 255.8 kB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.35, allocations: 5.094 kB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.35, allocations: 10.06 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.35, allocations: 4.594 kB / 331.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.3509, allocations: 292.5 kB / 332 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.3526, allocations: 0.8892 MB / 332.9 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.3536, allocations: 275.7 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.3536, allocations: 1.188 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.3542, allocations: 196.3 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 3.056e-06/0.3542, allocations: 4 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002294/0.3565, allocations: 0.7009 MB / 334 MB, free: 11.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3566, allocations: 110.8 kB / 334.1 MB, free: 11.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.3569, allocations: 257 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3569, allocations: 33.7 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3571, allocations: 171.8 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.3571, allocations: 43.45 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.3571, allocations: 4 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3573, allocations: 326.8 kB / 334.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.3576, allocations: 107.9 kB / 335.1 MB, free: 10.63 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.358, allocations: 175.6 kB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.3584, allocations: 141.7 kB / 335.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3584, allocations: 0 / 335.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001174/0.3596, allocations: 474 kB / 335.8 MB, free: 9.812 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.3599, allocations: 0.6335 MB / 336.5 MB, free: 9.125 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3599, allocations: 0 / 336.5 MB, free: 9.125 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.3603, allocations: 80.8 kB / 336.5 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.3605, allocations: 43.91 kB / 336.6 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.3627, allocations: 1.779 MB / 338.4 MB, free: 7.082 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3631, allocations: 51.88 kB / 338.4 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3631, allocations: 8 kB / 338.4 MB, free: 7.023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3631, allocations: 4 kB / 338.4 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007351/0.3639, allocations: 318.4 kB / 338.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3639, allocations: 0 / 338.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.364, allocations: 52.95 kB / 338.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.3642, allocations: 51.91 kB / 338.8 MB, free: 6.594 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3655, allocations: 1.541 MB / 340.4 MB, free: 4.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.3658, allocations: 43.84 kB / 340.4 MB, free: 4.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.3659, allocations: 16.06 kB / 340.4 MB, free: 4.859 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.000266/0.3661, allocations: 208.9 kB / 340.6 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3662, allocations: 27.67 kB / 340.7 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.3662, allocations: 25.83 kB / 340.7 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3663, allocations: 4 kB / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3663, allocations: 0 / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3663, allocations: 0 / 340.7 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.3666, allocations: 289.5 kB / 341 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3667, allocations: 384 / 341 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3668, allocations: 43.8 kB / 341 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.3671, allocations: 76.8 kB / 341.1 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3671, allocations: 8 kB / 341.1 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.369, allocations: 1.667 MB / 342.8 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.369, allocations: 0 / 342.8 MB, free: 2.332 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.37, allocations: 369.5 kB / 343.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.3701, allocations: 104.8 kB / 343.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.3701, allocations: 4 kB / 343.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.3704, allocations: 39.95 kB / 343.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.3705, allocations: 23.97 kB / 343.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3705, allocations: 7.953 kB / 343.3 MB, free: 1.754 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3707, allocations: 180.5 kB / 343.5 MB, free: 1.582 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3707, allocations: 0 / 343.5 MB, free: 1.582 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.3713, allocations: 123.8 kB / 343.6 MB, free: 1.461 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.0001683/0.3715, allocations: 103.2 kB / 343.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.373, allocations: 0.7293 MB / 344.4 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.373, allocations: 0 / 344.4 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.3735, allocations: 251.4 kB / 344.7 MB, free: 320 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3738, allocations: 48.41 kB / 344.7 MB, free: 272 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3751, allocations: 0.5103 MB / 345.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3755, allocations: 0.756 MB / 346 MB, free: 14.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.3756, allocations: 26.3 kB / 346 MB, free: 14.92 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.3757, allocations: 19.44 kB / 346 MB, free: 14.9 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3757, allocations: 0 / 346 MB, free: 14.9 MB / 286.1 MB Notification: Performance of Templates: time 0.008624/0.3843, allocations: 3.76 MB / 349.8 MB, free: 11.14 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) Environment - environmentSimulation: