Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00122/0.001221, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001197/0.001197, allocations: 177.3 kB / 15.94 MB, free: 228 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.872/1.872, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0004938/0.0004942, allocations: 16 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3008, allocations: 47.58 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002702/0.3036, allocations: 2.197 MB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3048, allocations: 0.6928 MB / 329.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3049, allocations: 6.5 kB / 329.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.305, allocations: 23.2 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3053, allocations: 102.8 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3055, allocations: 71.06 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.3059, allocations: 230.7 kB / 329.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.3062, allocations: 61.03 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3064, allocations: 110.9 kB / 329.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3066, allocations: 131.4 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.3066, allocations: 14.59 kB / 330.1 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.3067, allocations: 18.78 kB / 330.1 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.3068, allocations: 46.84 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.3068, allocations: 69.05 kB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3072, allocations: 239.2 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3072, allocations: 0.875 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3072, allocations: 0 / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3072, allocations: 0 / 330.4 MB, free: 14.39 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.001537/0.3088, allocations: 0.615 MB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/0.3088, allocations: 9.656 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.309, allocations: 26.81 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.3094, allocations: 269.2 kB / 331.4 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3094, allocations: 13.47 kB / 331.4 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.3095, allocations: 21.06 kB / 331.4 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.3101, allocations: 260.9 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3102, allocations: 0 / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.3102, allocations: 14.44 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3102, allocations: 4.156 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.3111, allocations: 289.3 kB / 331.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3128, allocations: 0.8424 MB / 332.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.3135, allocations: 318.4 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.3136, allocations: 6.438 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/0.3141, allocations: 170.6 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.3141, allocations: 0 / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=11): time 0.002017/0.3161, allocations: 0.6414 MB / 333.9 MB, free: 11.78 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.3162, allocations: 110.8 kB / 334 MB, free: 11.65 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.3166, allocations: 266.5 kB / 334.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3166, allocations: 29.7 kB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3168, allocations: 187.7 kB / 334.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3168, allocations: 31.55 kB / 334.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.3168, allocations: 4 kB / 334.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.317, allocations: 342.7 kB / 334.9 MB, free: 10.78 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.3173, allocations: 107.9 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3176, allocations: 196.8 kB / 335.2 MB, free: 10.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.318, allocations: 149.6 kB / 335.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.318, allocations: 0 / 335.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001055/0.319, allocations: 463.8 kB / 335.8 MB, free: 9.812 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005876/0.3196, allocations: 1.17 MB / 336.9 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3197, allocations: 4 kB / 336.9 MB, free: 8.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.32, allocations: 64.81 kB / 337 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3202, allocations: 51.91 kB / 337 MB, free: 8.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.3221, allocations: 1.523 MB / 338.6 MB, free: 6.762 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3225, allocations: 59.66 kB / 338.6 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.3226, allocations: 16.05 kB / 338.6 MB, free: 6.688 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3226, allocations: 4 kB / 338.6 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007638/0.3233, allocations: 314.2 kB / 339 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3234, allocations: 4.312 kB / 339 MB, free: 6.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-05/0.3235, allocations: 28.84 kB / 339 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3237, allocations: 59.84 kB / 339 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.3247, allocations: 1.381 MB / 340.4 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.325, allocations: 51.75 kB / 340.5 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3251, allocations: 8.188 kB / 340.5 MB, free: 4.699 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.0002411/0.3253, allocations: 228.8 kB / 340.7 MB, free: 4.465 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3254, allocations: 23.77 kB / 340.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.3254, allocations: 21.7 kB / 340.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3254, allocations: 4 kB / 340.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3254, allocations: 0 / 340.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3254, allocations: 0 / 340.8 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3266, allocations: 0.6591 MB / 341.4 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3267, allocations: 0 / 341.4 MB, free: 3.703 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3268, allocations: 27.98 kB / 341.4 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.327, allocations: 68.83 kB / 341.5 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.327, allocations: 0 / 341.5 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.3286, allocations: 1.503 MB / 343 MB, free: 1.969 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3286, allocations: 0 / 343 MB, free: 1.969 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.3295, allocations: 407.9 kB / 343.4 MB, free: 1.551 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.3296, allocations: 108.8 kB / 343.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3296, allocations: 0 / 343.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.3298, allocations: 43.92 kB / 343.6 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.3299, allocations: 23.91 kB / 343.6 MB, free: 1.359 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.33, allocations: 4 kB / 343.6 MB, free: 1.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.3301, allocations: 190 kB / 343.8 MB, free: 1.168 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3302, allocations: 0 / 343.8 MB, free: 1.168 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006073/0.3308, allocations: 111.8 kB / 343.9 MB, free: 1.059 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.0002065/0.331, allocations: 103.3 kB / 344 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.3324, allocations: 0.7074 MB / 344.7 MB, free: 196 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3324, allocations: 0 / 344.7 MB, free: 196 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.3329, allocations: 227.9 kB / 344.9 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.0003548/0.3333, allocations: 48.78 kB / 345 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3343, allocations: 0.5178 MB / 345.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.3347, allocations: 0.7522 MB / 346.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.3349, allocations: 30.22 kB / 346.3 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3349, allocations: 19.44 kB / 346.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3349, allocations: 0 / 346.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Templates: time 0.007804/0.3427, allocations: 3.399 MB / 349.7 MB, free: 11.15 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) Environment - environmentSimulation: