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.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002012/0.002012, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.976/1.976, allocations: 205.1 MB / 222 MB, free: 5.008 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.001478/0.001477, allocations: 43.94 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3572, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004878/0.3622, allocations: 2.796 MB / 327.5 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3639, allocations: 0.6817 MB / 328.2 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3641, allocations: 8.344 kB / 328.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3644, allocations: 32.34 kB / 328.2 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.3646, allocations: 76.38 kB / 328.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3649, allocations: 76.72 kB / 328.3 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.3654, allocations: 358.6 kB / 328.7 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.3657, allocations: 96.11 kB / 328.8 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.3659, allocations: 136.1 kB / 328.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.3661, allocations: 165.1 kB / 329.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.3662, allocations: 21.88 kB / 329.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.3662, allocations: 21.72 kB / 329.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.3663, allocations: 63.89 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.3665, allocations: 152 kB / 329.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.367, allocations: 359.4 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.367, allocations: 1 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.367, allocations: 0 / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.367, allocations: 4 kB / 329.7 MB, free: 14.01 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.001499/0.3685, allocations: 0.6469 MB / 330.3 MB, free: 13.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3686, allocations: 13.38 kB / 330.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3687, allocations: 40.31 kB / 330.4 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3691, allocations: 271.9 kB / 330.7 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.3691, allocations: 19.25 kB / 330.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.3692, allocations: 25 kB / 330.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3701, allocations: 309.1 kB / 331 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3702, allocations: 0 / 331 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.3702, allocations: 11.31 kB / 331 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3702, allocations: 5.469 kB / 331 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.3711, allocations: 247.8 kB / 331.3 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3732, allocations: 1.102 MB / 332.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.3741, allocations: 214.8 kB / 332.6 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3744, allocations: 89.55 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3745, allocations: 2.188 kB / 332.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/0.3751, allocations: 170.3 kB / 332.8 MB, free: 11.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 3.787e-06/0.3752, allocations: 3.984 kB / 332.8 MB, free: 11.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.00234/0.3775, allocations: 0.509 MB / 333.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.3776, allocations: 109.4 kB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.3782, allocations: 284.9 kB / 333.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3782, allocations: 33.64 kB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3784, allocations: 195.5 kB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.3785, allocations: 43.45 kB / 334 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3786, allocations: 45.94 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3788, allocations: 338.8 kB / 334.4 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.3791, allocations: 92.16 kB / 334.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.3795, allocations: 206.1 kB / 334.7 MB, free: 9.82 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.3803, allocations: 297.4 kB / 335 MB, free: 9.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3803, allocations: 7.938 kB / 335 MB, free: 9.473 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001269/0.3815, allocations: 427.6 kB / 335.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.3816, allocations: 33.69 kB / 335.4 MB, free: 9 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3816, allocations: 11.88 kB / 335.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.3821, allocations: 76.84 kB / 335.5 MB, free: 8.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.3823, allocations: 51.89 kB / 335.5 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.3851, allocations: 1.585 MB / 337.1 MB, free: 7.141 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.3856, allocations: 55.72 kB / 337.2 MB, free: 7.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.3857, allocations: 12 kB / 337.2 MB, free: 7.074 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.0003294/0.386, allocations: 149.7 kB / 337.3 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.3861, allocations: 23.66 kB / 337.4 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.3862, allocations: 33.7 kB / 337.4 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3862, allocations: 0 / 337.4 MB, free: 6.863 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3862, allocations: 4 kB / 337.4 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3862, allocations: 0 / 337.4 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3867, allocations: 301.4 kB / 337.7 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3867, allocations: 0 / 337.7 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3868, allocations: 15.98 kB / 337.7 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/0.3872, allocations: 68.8 kB / 337.8 MB, free: 6.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3872, allocations: 4 kB / 337.8 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.3895, allocations: 1.581 MB / 339.4 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3895, allocations: 4.031 kB / 339.4 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/0.3905, allocations: 309.4 kB / 339.7 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3907, allocations: 120.7 kB / 339.8 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3907, allocations: 4 kB / 339.8 MB, free: 4.242 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.391, allocations: 31.95 kB / 339.8 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3911, allocations: 19.97 kB / 339.8 MB, free: 4.191 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3911, allocations: 4 kB / 339.8 MB, free: 4.188 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.3914, allocations: 198 kB / 340 MB, free: 3.992 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.3914, allocations: 0 / 340 MB, free: 3.992 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000424/0.3918, allocations: 87.78 kB / 340.1 MB, free: 3.906 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.0001744/0.392, allocations: 103.2 kB / 340.2 MB, free: 3.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3931, allocations: 410 kB / 340.6 MB, free: 3.367 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3931, allocations: 0 / 340.6 MB, free: 3.367 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.3936, allocations: 231.6 kB / 340.9 MB, free: 3.129 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3939, allocations: 44.75 kB / 340.9 MB, free: 3.086 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3951, allocations: 0.5344 MB / 341.4 MB, free: 2.527 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3956, allocations: 0.756 MB / 342.2 MB, free: 1.746 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.3957, allocations: 22.3 kB / 342.2 MB, free: 1.727 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.3958, allocations: 27.42 kB / 342.2 MB, free: 1.699 MB / 270.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3958, allocations: 0 / 342.2 MB, free: 1.699 MB / 270.1 MB Notification: Performance of Templates: time 0.008676/0.4045, allocations: 3.8 MB / 346 MB, free: 13.9 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)