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.00137/0.00137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.829/1.829, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001884/0.001884, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.392, allocations: 46.64 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005689/0.3978, allocations: 2.751 MB / 328.1 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3998, allocations: 0.6855 MB / 328.7 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.4001, allocations: 4.594 kB / 328.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.4004, allocations: 44.72 kB / 328.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.4007, allocations: 83.95 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.4011, allocations: 93.33 kB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.4017, allocations: 383.5 kB / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.4021, allocations: 116.7 kB / 329.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.4024, allocations: 147.9 kB / 329.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.4027, allocations: 167.4 kB / 329.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.4028, allocations: 34.59 kB / 329.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.403, allocations: 34.06 kB / 329.8 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4031, allocations: 64.17 kB / 329.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.4033, allocations: 171.6 kB / 330.1 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.404, allocations: 367.8 kB / 330.4 MB, free: 13.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.404, allocations: 8 kB / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.404, allocations: 0 / 330.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.404, allocations: 0.75 kB / 330.4 MB, free: 13.98 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.001724/0.4058, allocations: 0.6503 MB / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.4058, allocations: 9.344 kB / 331.1 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.406, allocations: 32.94 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4063, allocations: 279.6 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4064, allocations: 14.81 kB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.4064, allocations: 25 kB / 331.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.4072, allocations: 305.7 kB / 331.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4072, allocations: 0 / 331.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.4073, allocations: 14.77 kB / 331.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4073, allocations: 6.25 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009148/0.4082, allocations: 256.2 kB / 332 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.4103, allocations: 1.099 MB / 333.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.4112, allocations: 209.7 kB / 333.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.4115, allocations: 88.69 kB / 333.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.4115, allocations: 6.406 kB / 333.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/0.4121, allocations: 163.1 kB / 333.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.4121, allocations: 0 / 333.6 MB, free: 11.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.002206/0.4143, allocations: 0.5183 MB / 334.1 MB, free: 10.9 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.4144, allocations: 102.8 kB / 334.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.4148, allocations: 282.7 kB / 334.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4149, allocations: 29.7 kB / 334.5 MB, free: 10.45 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.4151, allocations: 203.5 kB / 334.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4151, allocations: 39.45 kB / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.4152, allocations: 49.94 kB / 334.8 MB, free: 10.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4154, allocations: 334.8 kB / 335.1 MB, free: 9.82 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4158, allocations: 96.16 kB / 335.2 MB, free: 9.727 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.4162, allocations: 198.1 kB / 335.4 MB, free: 9.484 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.417, allocations: 309.3 kB / 335.7 MB, free: 9.133 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.417, allocations: 3.938 kB / 335.7 MB, free: 9.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001258/0.4183, allocations: 415.7 kB / 336.1 MB, free: 8.707 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.4184, allocations: 41.64 kB / 336.1 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4184, allocations: 8.125 kB / 336.1 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.4188, allocations: 76.73 kB / 336.2 MB, free: 8.574 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.419, allocations: 47.91 kB / 336.3 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.4217, allocations: 1.707 MB / 338 MB, free: 6.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.4221, allocations: 59.7 kB / 338 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.4222, allocations: 19.86 kB / 338.1 MB, free: 6.602 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.0001932/0.4224, allocations: 145.8 kB / 338.2 MB, free: 6.449 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4224, allocations: 23.72 kB / 338.2 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.4225, allocations: 29.7 kB / 338.2 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4225, allocations: 0 / 338.2 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4225, allocations: 3.938 kB / 338.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4225, allocations: 4 kB / 338.3 MB, free: 6.391 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.4229, allocations: 305.3 kB / 338.6 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4229, allocations: 4.188 kB / 338.6 MB, free: 6.039 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.423, allocations: 23.97 kB / 338.6 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.4233, allocations: 68.81 kB / 338.6 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4233, allocations: 3.984 kB / 338.7 MB, free: 5.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.4257, allocations: 1.699 MB / 340.4 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4257, allocations: 0 / 340.4 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4268, allocations: 313.8 kB / 340.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4269, allocations: 112.8 kB / 340.8 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.427, allocations: 4 kB / 340.8 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4272, allocations: 27.95 kB / 340.8 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.4273, allocations: 27.97 kB / 340.8 MB, free: 3.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4274, allocations: 192 / 340.8 MB, free: 3.59 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.4276, allocations: 209.9 kB / 341 MB, free: 3.383 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4276, allocations: 0 / 341 MB, free: 3.383 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004038/0.428, allocations: 79.84 kB / 341.1 MB, free: 3.305 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.0002127/0.4282, allocations: 107.2 kB / 341.2 MB, free: 3.188 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4293, allocations: 414 kB / 341.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4294, allocations: 0 / 341.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.4298, allocations: 235.1 kB / 341.8 MB, free: 2.516 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4302, allocations: 45.48 kB / 341.9 MB, free: 2.473 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4313, allocations: 469.2 kB / 342.3 MB, free: 1.988 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.4317, allocations: 0.7518 MB / 343.1 MB, free: 1.211 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.4318, allocations: 22.3 kB / 343.1 MB, free: 1.191 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.4319, allocations: 19.44 kB / 343.1 MB, free: 1.172 MB / 270.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4319, allocations: 4 kB / 343.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of Templates: time 0.009018/0.4409, allocations: 4.17 MB / 347.3 MB, free: 12.99 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)