Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002334/0.002334, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.657/1.657, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001254/0.001254, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004445/0.3005, allocations: 2.796 MB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3021, allocations: 0.6837 MB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.3023, allocations: 3.375 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3025, allocations: 37.06 kB / 328.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3028, allocations: 80.52 kB / 328.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3031, allocations: 68.16 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.3035, allocations: 376.7 kB / 328.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.3038, allocations: 120 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.304, allocations: 144.5 kB / 329.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3042, allocations: 167.4 kB / 329.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.3043, allocations: 34.5 kB / 329.3 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.3044, allocations: 34.75 kB / 329.4 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3045, allocations: 70.3 kB / 329.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3046, allocations: 167.9 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.3051, allocations: 376.8 kB / 330 MB, free: 14.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3051, allocations: 0 / 330 MB, free: 14.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3051, allocations: 0 / 330 MB, free: 14.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3051, allocations: 0 / 330 MB, free: 14.06 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001344/0.3065, allocations: 0.651 MB / 330.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3065, allocations: 8.906 kB / 330.6 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.3066, allocations: 33 kB / 330.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.307, allocations: 279.8 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.307, allocations: 19.09 kB / 331 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.3071, allocations: 24.38 kB / 331 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.3078, allocations: 301.6 kB / 331.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3078, allocations: 0.9375 kB / 331.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3078, allocations: 10.25 kB / 331.3 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3079, allocations: 5.875 kB / 331.3 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.3087, allocations: 260.2 kB / 331.5 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.3107, allocations: 1.097 MB / 332.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.3116, allocations: 210.6 kB / 332.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.3119, allocations: 102 kB / 332.9 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.312, allocations: 5.234 kB / 333 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.3127, allocations: 162.5 kB / 333.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 2.835e-06/0.3127, allocations: 4 kB / 333.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002231/0.315, allocations: 0.5083 MB / 333.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.3151, allocations: 106.8 kB / 333.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3154, allocations: 282.7 kB / 334 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.3155, allocations: 37.7 kB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3156, allocations: 195.5 kB / 334.2 MB, free: 10.4 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.3157, allocations: 43.44 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3158, allocations: 49.94 kB / 334.3 MB, free: 10.3 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.316, allocations: 326.8 kB / 334.6 MB, free: 9.973 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.3164, allocations: 104.1 kB / 334.7 MB, free: 9.871 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.3169, allocations: 206 kB / 334.9 MB, free: 9.621 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.3177, allocations: 297.4 kB / 335.2 MB, free: 9.281 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3178, allocations: 3.938 kB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001414/0.3192, allocations: 423.7 kB / 335.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.3193, allocations: 37.69 kB / 335.7 MB, free: 8.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3193, allocations: 4 kB / 335.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.3197, allocations: 80.78 kB / 335.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.3199, allocations: 43.95 kB / 335.8 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.3226, allocations: 1.711 MB / 337.5 MB, free: 6.824 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.3231, allocations: 59.7 kB / 337.6 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.3231, allocations: 19.88 kB / 337.6 MB, free: 6.746 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0002021/0.3233, allocations: 145.7 kB / 337.7 MB, free: 6.594 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.3234, allocations: 23.72 kB / 337.8 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.3234, allocations: 29.7 kB / 337.8 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3234, allocations: 0 / 337.8 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3234, allocations: 0 / 337.8 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3234, allocations: 0 / 337.8 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.3237, allocations: 305.3 kB / 338.1 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3238, allocations: 0 / 338.1 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3239, allocations: 19.97 kB / 338.1 MB, free: 6.176 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.3242, allocations: 77 kB / 338.2 MB, free: 6.098 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3242, allocations: 0 / 338.2 MB, free: 6.098 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.3262, allocations: 1.711 MB / 339.9 MB, free: 4.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3262, allocations: 0 / 339.9 MB, free: 4.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.3272, allocations: 313.4 kB / 340.2 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3273, allocations: 112.8 kB / 340.3 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.3273, allocations: 0 / 340.3 MB, free: 3.793 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.3276, allocations: 31.95 kB / 340.4 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.3277, allocations: 23.98 kB / 340.4 MB, free: 3.738 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3277, allocations: 7.984 kB / 340.4 MB, free: 3.73 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.328, allocations: 201.9 kB / 340.6 MB, free: 3.531 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.328, allocations: 0 / 340.6 MB, free: 3.531 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000402/0.3284, allocations: 79.83 kB / 340.7 MB, free: 3.453 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 (7): * Single equations (assignments): 4 * 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.0001626/0.3286, allocations: 107.1 kB / 340.8 MB, free: 3.336 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000993/0.3296, allocations: 411 kB / 341.2 MB, free: 2.91 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3296, allocations: 0 / 341.2 MB, free: 2.91 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.33, allocations: 234.6 kB / 341.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3303, allocations: 45.16 kB / 341.4 MB, free: 2.625 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3315, allocations: 0.5442 MB / 342 MB, free: 2.055 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3319, allocations: 0.7518 MB / 342.7 MB, free: 1.277 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3321, allocations: 22.3 kB / 342.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3321, allocations: 19.44 kB / 342.8 MB, free: 1.238 MB / 270.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3321, allocations: 4 kB / 342.8 MB, free: 1.234 MB / 270.1 MB Notification: Performance of Templates: time 0.007835/0.34, allocations: 4.024 MB / 346.8 MB, free: 13.21 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)