Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001284/0.001284, 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.001448/0.001448, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.794/1.794, allocations: 205.1 MB / 222 MB, free: 4.734 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.001327/0.001327, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005403/0.3357, allocations: 2.793 MB / 327.5 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3375, allocations: 0.6844 MB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.3377, allocations: 4.344 kB / 328.2 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.3379, allocations: 40.88 kB / 328.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3381, allocations: 80.22 kB / 328.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3384, allocations: 72.83 kB / 328.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.3389, allocations: 355 kB / 328.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.3392, allocations: 99.83 kB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.3394, allocations: 132.3 kB / 328.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.3396, allocations: 164.1 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.3397, allocations: 22.25 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.3398, allocations: 23.12 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.3399, allocations: 54.8 kB / 329.2 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.3401, allocations: 159.9 kB / 329.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.3405, allocations: 355.8 kB / 329.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3405, allocations: 1.469 kB / 329.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3405, allocations: 0 / 329.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3406, allocations: 0 / 329.7 MB, free: 14.13 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.001453/0.342, allocations: 0.6579 MB / 330.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3421, allocations: 9.344 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3422, allocations: 33.44 kB / 330.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3426, allocations: 271.3 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.3426, allocations: 19.34 kB / 330.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.3427, allocations: 24.91 kB / 330.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007516/0.3435, allocations: 305.3 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3435, allocations: 0 / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.3435, allocations: 15.2 kB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3435, allocations: 9.406 kB / 331 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.3444, allocations: 251.6 kB / 331.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.3463, allocations: 1.098 MB / 332.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.3472, allocations: 211.1 kB / 332.6 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.3475, allocations: 97.19 kB / 332.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3476, allocations: 10.23 kB / 332.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005965/0.3482, allocations: 157.8 kB / 332.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.3482, allocations: 1.438 kB / 332.8 MB, free: 11.63 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002196/0.3504, allocations: 0.5173 MB / 333.3 MB, free: 11.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.3505, allocations: 106.8 kB / 333.4 MB, free: 11.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.3508, allocations: 278.7 kB / 333.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.3509, allocations: 29.7 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.351, allocations: 203.5 kB / 333.9 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3511, allocations: 39.45 kB / 334 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3512, allocations: 45.94 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3514, allocations: 338.8 kB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.3518, allocations: 96.09 kB / 334.5 MB, free: 10.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.3522, allocations: 194.8 kB / 334.6 MB, free: 9.824 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.3529, allocations: 305.4 kB / 334.9 MB, free: 9.477 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.3529, allocations: 3.938 kB / 334.9 MB, free: 9.473 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001227/0.3542, allocations: 427.7 kB / 335.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.3542, allocations: 33.7 kB / 335.4 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3543, allocations: 7.984 kB / 335.4 MB, free: 8.992 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.3547, allocations: 76.67 kB / 335.5 MB, free: 8.914 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3549, allocations: 52 kB / 335.5 MB, free: 8.863 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.3574, allocations: 1.59 MB / 337.1 MB, free: 7.141 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.3578, allocations: 55.64 kB / 337.2 MB, free: 7.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3579, allocations: 16 kB / 337.2 MB, free: 7.07 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.0001855/0.3581, allocations: 142.4 kB / 337.3 MB, free: 6.922 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.3581, allocations: 27.66 kB / 337.4 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.3582, allocations: 25.7 kB / 337.4 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3582, allocations: 3.938 kB / 337.4 MB, free: 6.867 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3582, allocations: 0 / 337.4 MB, free: 6.867 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3582, allocations: 4 kB / 337.4 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.3586, allocations: 305.3 kB / 337.7 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3586, allocations: 0 / 337.7 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3587, allocations: 23.98 kB / 337.7 MB, free: 6.492 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.359, allocations: 64.8 kB / 337.8 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.359, allocations: 0 / 337.8 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.3612, allocations: 1.585 MB / 339.4 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3612, allocations: 3.938 kB / 339.4 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3622, allocations: 313.5 kB / 339.7 MB, free: 4.375 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3624, allocations: 116.7 kB / 339.8 MB, free: 4.242 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.3625, allocations: 8 kB / 339.8 MB, free: 4.234 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3628, allocations: 27.91 kB / 339.8 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3629, allocations: 23.97 kB / 339.8 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3629, allocations: 4 kB / 339.8 MB, free: 4.18 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.3632, allocations: 202 kB / 340 MB, free: 3.98 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 0 / 340 MB, free: 3.98 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004518/0.3637, allocations: 79.84 kB / 340.1 MB, free: 3.902 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.0002387/0.3639, allocations: 111.1 kB / 340.2 MB, free: 3.781 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.365, allocations: 401.8 kB / 340.6 MB, free: 3.363 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.365, allocations: 0 / 340.6 MB, free: 3.363 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3655, allocations: 223.3 kB / 340.8 MB, free: 3.133 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3659, allocations: 40.81 kB / 340.9 MB, free: 3.094 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.367, allocations: 0.5458 MB / 341.4 MB, free: 2.523 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3673, allocations: 0.7521 MB / 342.2 MB, free: 1.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.3675, allocations: 26.28 kB / 342.2 MB, free: 1.723 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3675, allocations: 23.44 kB / 342.2 MB, free: 1.699 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3676, allocations: 0 / 342.2 MB, free: 1.699 MB / 270.1 MB Notification: Performance of Templates: time 0.00973/0.3773, allocations: 3.8 MB / 346 MB, free: 13.9 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)