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.001119/0.001119, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00138/0.00138, allocations: 172.7 kB / 15.95 MB, free: 208 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.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004322/0.0004322, allocations: 16 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3051, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003782/0.309, allocations: 2.299 MB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3109, allocations: 0.6806 MB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.3111, allocations: 7.812 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.3113, allocations: 31.36 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3115, allocations: 76.83 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3119, allocations: 66.2 kB / 329.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.3123, allocations: 321.5 kB / 330 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.3126, allocations: 64.59 kB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.3128, allocations: 107.8 kB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3131, allocations: 136.3 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.3131, allocations: 14.06 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.3132, allocations: 15.25 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.3133, allocations: 46.17 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3134, allocations: 69.7 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.3138, allocations: 245.5 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3138, allocations: 0 / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3139, allocations: 3.938 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3139, allocations: 1.375 kB / 330.6 MB, free: 14.23 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.001661/0.3155, allocations: 0.6035 MB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/0.3156, allocations: 9.906 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3158, allocations: 34.75 kB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.3162, allocations: 270.6 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.3163, allocations: 12.59 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.3164, allocations: 26.06 kB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.317, allocations: 261.1 kB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.317, allocations: 0 / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3171, allocations: 14.64 kB / 331.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3171, allocations: 5.688 kB / 331.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.3179, allocations: 287.7 kB / 332.2 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.3196, allocations: 0.8819 MB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.3205, allocations: 265.1 kB / 333.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.3209, allocations: 119.8 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.3209, allocations: 4.922 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.3215, allocations: 184.9 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.3215, allocations: 5.188 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.002064/0.3236, allocations: 0.7113 MB / 334.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.3237, allocations: 102.8 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.324, allocations: 260.9 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.324, allocations: 29.7 kB / 334.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3242, allocations: 175.8 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.3242, allocations: 43.44 kB / 334.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.3242, allocations: 8 kB / 334.9 MB, free: 10.74 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3243, allocations: 326.8 kB / 335.2 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.3246, allocations: 107.9 kB / 335.3 MB, free: 10.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.325, allocations: 175.6 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.3253, allocations: 141.6 kB / 335.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.3253, allocations: 0 / 335.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001122/0.3264, allocations: 474.8 kB / 336.1 MB, free: 9.488 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3266, allocations: 159.9 kB / 336.3 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3266, allocations: 4 kB / 336.3 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.327, allocations: 80.8 kB / 336.4 MB, free: 9.215 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3272, allocations: 35.97 kB / 336.4 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.3293, allocations: 1.752 MB / 338.1 MB, free: 7.289 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.3296, allocations: 51.86 kB / 338.2 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3297, allocations: 15.98 kB / 338.2 MB, free: 7.223 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3297, allocations: 4 kB / 338.2 MB, free: 7.219 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007037/0.3304, allocations: 318.3 kB / 338.5 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3304, allocations: 7.938 kB / 338.5 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.3306, allocations: 36.83 kB / 338.6 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3307, allocations: 47.86 kB / 338.6 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3321, allocations: 1.534 MB / 340.1 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.3324, allocations: 44.06 kB / 340.2 MB, free: 5.094 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.3324, allocations: 16 kB / 340.2 MB, free: 5.078 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.0002544/0.3327, allocations: 212.9 kB / 340.4 MB, free: 4.859 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3327, allocations: 27.67 kB / 340.4 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.3328, allocations: 25.78 kB / 340.5 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3328, allocations: 0 / 340.5 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3328, allocations: 4 kB / 340.5 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3328, allocations: 7.984 kB / 340.5 MB, free: 4.797 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3331, allocations: 289.5 kB / 340.8 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3332, allocations: 0 / 340.8 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.3333, allocations: 31.92 kB / 340.8 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.3335, allocations: 72.81 kB / 340.9 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3336, allocations: 4 kB / 340.9 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.3353, allocations: 1.64 MB / 342.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3354, allocations: 4 kB / 342.5 MB, free: 2.582 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.3362, allocations: 365.6 kB / 342.9 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.3363, allocations: 108.7 kB / 343 MB, free: 2.078 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.3363, allocations: 4 kB / 343 MB, free: 2.074 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3365, allocations: 39.97 kB / 343 MB, free: 2.035 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3366, allocations: 23.97 kB / 343 MB, free: 2.012 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3367, allocations: 7.938 kB / 343.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3368, allocations: 184.5 kB / 343.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3368, allocations: 3.938 kB / 343.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.3374, allocations: 119.8 kB / 343.4 MB, free: 1.707 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.000145/0.3376, allocations: 107.8 kB / 343.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.3389, allocations: 0.725 MB / 344.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3389, allocations: 0 / 344.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.3394, allocations: 258.8 kB / 344.4 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3397, allocations: 40.48 kB / 344.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.3407, allocations: 0.5252 MB / 345 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3411, allocations: 0.7521 MB / 345.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3413, allocations: 26.28 kB / 345.8 MB, free: 15.15 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.3413, allocations: 19.44 kB / 345.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of SimCode: time 2.114e-06/0.3414, allocations: 0 / 345.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of Templates: time 0.00828/0.3496, allocations: 3.756 MB / 349.6 MB, free: 11.38 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (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)