Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 91.64 kB / 16.3 MB, free: 5.996 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.001937/0.001937, allocations: 183.5 kB / 17.2 MB, free: 5.914 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.823/1.823, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004398/0.00044, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003121/0.2986, allocations: 2.191 MB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3, allocations: 0.69 MB / 330.6 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3002, allocations: 8.281 kB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.005e-05/0.3002, allocations: 27.05 kB / 330.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3005, allocations: 102.4 kB / 330.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.3008, allocations: 71.27 kB / 330.8 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.3011, allocations: 230.1 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.3014, allocations: 65.33 kB / 331.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3015, allocations: 110.2 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3017, allocations: 131.6 kB / 331.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.3018, allocations: 15.28 kB / 331.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.3018, allocations: 14.5 kB / 331.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3019, allocations: 42.36 kB / 331.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.302, allocations: 68.8 kB / 331.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.3022, allocations: 236.4 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3023, allocations: 0 / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3023, allocations: 4.906 kB / 331.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3023, allocations: 0 / 331.7 MB, free: 14.37 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.001349/0.3036, allocations: 0.6076 MB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3037, allocations: 8.312 kB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.3038, allocations: 31.7 kB / 332.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3042, allocations: 276.6 kB / 332.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3042, allocations: 17.02 kB / 332.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3043, allocations: 25.44 kB / 332.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.305, allocations: 252.4 kB / 332.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.305, allocations: 7.938 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3051, allocations: 11.19 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3051, allocations: 4.312 kB / 332.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.306, allocations: 283.8 kB / 333.2 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.3078, allocations: 0.8431 MB / 334 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.3086, allocations: 319.8 kB / 334.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3086, allocations: 0.9688 kB / 334.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005384/0.3092, allocations: 179.2 kB / 334.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.3092, allocations: 1.219 kB / 334.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002001/0.3112, allocations: 0.6407 MB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.3113, allocations: 110.8 kB / 335.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.3116, allocations: 266.5 kB / 335.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3117, allocations: 29.7 kB / 335.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3118, allocations: 183.7 kB / 335.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3119, allocations: 35.55 kB / 335.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.3119, allocations: 7.938 kB / 335.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3121, allocations: 330.8 kB / 336.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3124, allocations: 111.9 kB / 336.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.3127, allocations: 196.8 kB / 336.4 MB, free: 10.45 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3131, allocations: 145.6 kB / 336.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3131, allocations: 0 / 336.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001081/0.3142, allocations: 467.8 kB / 337 MB, free: 9.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005257/0.3147, allocations: 1.174 MB / 338.2 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3147, allocations: 4 kB / 338.2 MB, free: 8.555 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.3151, allocations: 56.83 kB / 338.3 MB, free: 8.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3153, allocations: 59.89 kB / 338.3 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.3173, allocations: 1.519 MB / 339.8 MB, free: 6.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.3176, allocations: 63.72 kB / 339.9 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3177, allocations: 12 kB / 339.9 MB, free: 6.703 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3177, allocations: 4 kB / 339.9 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000706/0.3184, allocations: 318.4 kB / 340.2 MB, free: 6.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3184, allocations: 4 kB / 340.2 MB, free: 6.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.735e-05/0.3185, allocations: 24.84 kB / 340.2 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3187, allocations: 59.89 kB / 340.3 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/0.3197, allocations: 1.381 MB / 341.7 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.3201, allocations: 48 kB / 341.7 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3201, allocations: 11.94 kB / 341.7 MB, free: 4.715 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002431/0.3203, allocations: 233 kB / 342 MB, free: 4.477 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3204, allocations: 23.77 kB / 342 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.3204, allocations: 25.7 kB / 342 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3204, allocations: 0 / 342 MB, free: 4.434 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3205, allocations: 4 kB / 342 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3205, allocations: 0 / 342 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3217, allocations: 0.6513 MB / 342.7 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3217, allocations: 0 / 342.7 MB, free: 3.719 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3219, allocations: 35.97 kB / 342.7 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.322, allocations: 60.75 kB / 342.8 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3221, allocations: 0 / 342.8 MB, free: 3.621 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.3237, allocations: 1.507 MB / 344.3 MB, free: 1.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3237, allocations: 0 / 344.3 MB, free: 1.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.3246, allocations: 404.8 kB / 344.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.3247, allocations: 100.8 kB / 344.8 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3247, allocations: 8 kB / 344.8 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.325, allocations: 39.91 kB / 344.8 MB, free: 1.402 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.271e-05/0.3251, allocations: 31.89 kB / 344.8 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3251, allocations: 4 kB / 344.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3253, allocations: 190 kB / 345 MB, free: 1.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3254, allocations: 3.938 kB / 345 MB, free: 1.176 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005981/0.326, allocations: 107.8 kB / 345.1 MB, free: 1.07 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.3261, allocations: 107.2 kB / 345.2 MB, free: 0.957 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3276, allocations: 0.7114 MB / 346 MB, free: 200 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3276, allocations: 0 / 346 MB, free: 200 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.3281, allocations: 223.2 kB / 346.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3284, allocations: 40.53 kB / 346.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3295, allocations: 0.5177 MB / 346.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3299, allocations: 0.7521 MB / 347.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.33, allocations: 30.23 kB / 347.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3301, allocations: 19.44 kB / 347.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3301, allocations: 0 / 347.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of Templates: time 0.00803/0.3381, allocations: 3.399 MB / 350.9 MB, free: 11.16 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) Environment - environmentSimulation: